fix: npm install in stylelint and prettier jobs
This commit is contained in:
		
							parent
							
								
									8393218622
								
							
						
					
					
						commit
						080c32699f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -57,6 +57,7 @@ stylelint:
 | 
				
			||||||
  image: "node:16"
 | 
					  image: "node:16"
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd apps/app/assets/
 | 
					    - cd apps/app/assets/
 | 
				
			||||||
 | 
					    - npm install
 | 
				
			||||||
    - npx stylelint **/*.css
 | 
					    - npx stylelint **/*.css
 | 
				
			||||||
 | 
					
 | 
				
			||||||
prettier:
 | 
					prettier:
 | 
				
			||||||
| 
						 | 
					@ -64,6 +65,7 @@ prettier:
 | 
				
			||||||
  image: "node:16"
 | 
					  image: "node:16"
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd apps/app/assets/
 | 
					    - cd apps/app/assets/
 | 
				
			||||||
 | 
					    - npm install
 | 
				
			||||||
    - npx prettier --check **/*.js
 | 
					    - npx prettier --check **/*.js
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build_image_for_commit:
 | 
					build_image_for_commit:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue