Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29baa6ee60 |
@@ -9,15 +9,13 @@ jobs:
|
|||||||
lint-check:
|
lint-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check Out Repository
|
- name: Check out ${{ gitea.repository }} ${{ gitea.ref }} ${{ gitea.sha }}
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
run: echo "Checked out ${{ gitea.repository }} ${{ gitea.ref }} ${{ gitea.sha }}"
|
|
||||||
|
|
||||||
- name: Initialize Runner
|
- name: Initialize ${{ runner.os }} ${{ runner.arch }}
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
run: echo "Initialized ${{ runner.os }} ${{ runner.arch }}"
|
|
||||||
|
|
||||||
- name: Install Linters
|
- name: Install linters
|
||||||
run: |
|
run: |
|
||||||
npm install --no-save \
|
npm install --no-save \
|
||||||
@eslint/eslintrc \
|
@eslint/eslintrc \
|
||||||
@@ -28,7 +26,7 @@ jobs:
|
|||||||
stylelint \
|
stylelint \
|
||||||
stylelint-config-standard
|
stylelint-config-standard
|
||||||
|
|
||||||
- name: Verify Linters
|
- name: Verify linters
|
||||||
run: |
|
run: |
|
||||||
npx html-validate --version
|
npx html-validate --version
|
||||||
npx stylelint --version
|
npx stylelint --version
|
||||||
@@ -50,7 +48,7 @@ jobs:
|
|||||||
DEBUG: eslint:cli-engine
|
DEBUG: eslint:cli-engine
|
||||||
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
|
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
|
||||||
|
|
||||||
- name: Verify Linters
|
- name: Verify All Linters Passed
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
if [ "${{ steps.html_lint.outcome }}" != "success" ] || \
|
if [ "${{ steps.html_lint.outcome }}" != "success" ] || \
|
||||||
|
|||||||
Reference in New Issue
Block a user