add linting to ci
This commit is contained in:
		
							parent
							
								
									b4b6c13cf9
								
							
						
					
					
						commit
						150bdba134
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										21
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | ||||||
|  | name: Lint | ||||||
|  | on: [push] | ||||||
|  | jobs: | ||||||
|  |   lint: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  | 
 | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v2 | ||||||
|  |         with: | ||||||
|  |           fetch-depth: 0 | ||||||
|  | 
 | ||||||
|  |       - name: Use Node.js 14.x | ||||||
|  |         uses: actions/setup-node@v1 | ||||||
|  |         with: | ||||||
|  |           version: 14.x | ||||||
|  | 
 | ||||||
|  |       - name: Install deps and build (with cache) | ||||||
|  |         uses: bahmutov/npm-install@v1 | ||||||
|  | 
 | ||||||
|  |       - name: Lint | ||||||
|  |         run: yarn lint | ||||||
		Loading…
	
		Reference in a new issue
	
	 KATT
						KATT