mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	* Remove .travis.yml reference from .gitattributes * Minor refactoring of .svglintrc.js - Remove unused variables - Fix missing semi-colons - Remove unneeded indentation * Prevent error in clean command due to missing files * Fix indentations * Further improvements to Editorconfig and indentation * Format YAML files - Update indentation for array notation - Normalize use of newlines
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Verify
 | |
| on: [pull_request, push]
 | |
| 
 | |
| jobs:
 | |
|   lint:
 | |
|     name: Lint
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v2
 | |
|       - name: Use Node.js 12.x
 | |
|         uses: actions/setup-node@v2
 | |
|         with:
 | |
|           node-version: 12.x
 | |
|       - name: Install dependencies
 | |
|         run: npm ci
 | |
|       - name: Run linter
 | |
|         run: |
 | |
|           npm run jsonlint
 | |
|           npm run svglint
 | |
|           npm run wslint
 | |
|           npm run our-lint          
 | |
|   build:
 | |
|     name: Build website
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v2
 | |
|       - name: Use Ruby 2.7
 | |
|         uses: ruby/setup-ruby@v1
 | |
|         with:
 | |
|           ruby-version: 2.7
 | |
|           # https://github.com/ruby/setup-ruby/blob/master/README.md#caching-bundle-install-automatically
 | |
|           bundler-cache: true
 | |
|       - name: Build website
 | |
|         run: bundle exec jekyll build
 | |
|   test:
 | |
|     name: Test package
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - name: Checkout
 | |
|         uses: actions/checkout@v2
 | |
|       - name: Use Node.js 12.x
 | |
|         uses: actions/setup-node@v2
 | |
|         with:
 | |
|           node-version: 12.x
 | |
|       - name: Install dependencies
 | |
|         run: npm ci
 | |
|       - name: Run tests
 | |
|         run: npm run test
 |