Skip to content

Commit daa930b

Browse files
authored
ci: add prettier check in the assets job (#5668)
* Update _groups.json test * check pretty in assets step * fix indentation
1 parent 9606dda commit daa930b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/monkey-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ jobs:
221221
- name: Install dependencies
222222
run: npm install --prefer-offline --no-audit
223223

224+
- name: Check Pretty
225+
run: npm run pretty-assets-fe
226+
224227
- name: Lint JSON
225228
run: npm run pr-check-lint-json
226229

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"pretty-code": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\" \"./frontend/**/*.{ts,js}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/src/**/*.scss\" ",
3434
"pretty-code-be": "prettier --check \"./backend/**/*.{ts,js,json,css,html}\"",
3535
"pretty-code-fe": "prettier --check \"./frontend/**/*.{ts,js}\" \"./frontend/src/**/*.scss\"",
36+
"pretty-assets-fe": "prettier --check \"./frontend/static/**/*.json\"",
3637
"pretty-code-pkg": "prettier --check \"./packages/**/*.{ts,js}\"",
3738
"pretty-fix": "prettier --write \"./backend/**/*.{ts,json,js,css,html}\" \"./frontend/**/*.{ts,js,scss}\" \"./packages/**/*.{ts,js,json}\" \"./frontend/static/**/*.{json,html,css}\"",
3839
"pr-check-lint-json": "cd frontend && eslint './static/**/*.json'",

0 commit comments

Comments
 (0)