build: Run stylelint and prettier during build (#2239)
Stylelint and prettier checks are added to the build workflow, to maintain formatting consistency. Existing issues are fixed.
This commit is contained in:
@@ -37,6 +37,12 @@ jobs:
|
||||
- name: Run eslint
|
||||
run: npx ng lint
|
||||
|
||||
- name: Run stylelint
|
||||
run: npx stylelint "src/**/*.scss"
|
||||
|
||||
- name: Run prettier
|
||||
run: npx prettier . --check
|
||||
|
||||
- name: Run build
|
||||
run: npm run build:prod
|
||||
|
||||
|
||||
Reference in New Issue
Block a user