Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5a55c23e9 |
@@ -25,28 +25,28 @@ jobs:
|
||||
|
||||
- name: Verify linters
|
||||
run: |
|
||||
eslint --version
|
||||
stylelint --version
|
||||
html-validate --version
|
||||
npx html-validate --version
|
||||
npx stylelint --version
|
||||
npx eslint --version
|
||||
|
||||
- name: Check out ${{gitea.repository}} ${{gitea.ref}} ${{gitea.sha}}
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run HTML Validate
|
||||
id: html_lint
|
||||
run: html-validate --config dev_config/.htmlvalidate.json "web/html/**/*"
|
||||
run: npx html-validate --config dev_config/.htmlvalidate.json "web/html/**/*"
|
||||
|
||||
- name: Run Stylelint
|
||||
id: style_lint
|
||||
if: always()
|
||||
run: stylelint --config dev_config/.stylelintrc.json --formatter verbose --fix "web/css/**/*.css"
|
||||
run: npx stylelint --config dev_config/.stylelintrc.json --formatter verbose --fix "web/css/**/*.css"
|
||||
|
||||
- name: Run ESLint
|
||||
id: js_lint
|
||||
if: always()
|
||||
env:
|
||||
DEBUG: eslint:cli-engine
|
||||
run: eslint --config dev_config/eslint.config.mjs --fix web/scripts/
|
||||
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
|
||||
|
||||
- name: Verify All Linters Passed
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user