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