fix: npm install in stylelint and prettier jobs

This commit is contained in:
Robert Prehn 2021-07-20 17:44:42 -05:00
parent 8393218622
commit 080c32699f

View file

@ -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: