mirror of
				https://github.com/tobspr/shapez.io.git
				synced 2025-06-13 13:04:03 +00:00 
			
		
		
		
	* [WIP] Fix achievements with unlock attempt on init. Fix lint * Add init checks for more achievements * Fix tslint errors * Update CI step to include config.local copy from template if not present
		
			
				
	
	
		
			59 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: CI
 | |
| 
 | |
| on:
 | |
|     push:
 | |
|         branches:
 | |
|             - master
 | |
|             - ModdedGamers-GH-Actions
 | |
|     pull_request:
 | |
|         branches:
 | |
|             - master
 | |
| 
 | |
| jobs:
 | |
|     setup:
 | |
|         name: CI
 | |
| 
 | |
|         runs-on: ubuntu-latest
 | |
| 
 | |
|         steps:
 | |
|             - name: Install Dependencies
 | |
|               run: |
 | |
|                   sudo apt-get update
 | |
|                   sudo apt-get install ffmpeg                  
 | |
| 
 | |
|             - name: Setup Node
 | |
|               uses: actions/setup-node@v2-beta
 | |
|               with:
 | |
|                   node-version: 10.x
 | |
| 
 | |
|             - name: Checkout repo
 | |
|               uses: actions/checkout@v2
 | |
| 
 | |
|             - name: Install Yarn Dependencies
 | |
|               run: |
 | |
|                   yarn
 | |
|                   cd gulp/
 | |
|                   yarn
 | |
|                   cd ..                  
 | |
|             - name: Lint
 | |
|               run: |
 | |
|                   yarn lint                  
 | |
|             - name: TSLint
 | |
|               run: |
 | |
|                   cd gulp
 | |
|                   yarn gulp translations.fullBuild
 | |
|                   yarn gulp localConfig.findOrCreate
 | |
|                   cd ..
 | |
|                   yarn tslint                  
 | |
| 
 | |
|     yaml-lint:
 | |
|         name: yaml-lint
 | |
|         runs-on: ubuntu-latest
 | |
|         steps:
 | |
|             - name: Checkout repo
 | |
|               uses: actions/checkout@v2
 | |
|             - name: YAML Lint
 | |
|               uses: ibiqlik/action-yamllint@v1.0.0
 | |
|               with:
 | |
|                   file_or_dir: translations/*.yaml
 |