1 Commits
Author SHA1 Message Date
alu 3307d08d22 add lint workflow, remove node package
ProxmoxAAS-Dashboard Code Style Check / lint-check (push) Failing after 0s
2026-07-29 03:15:09 +00:00
+8 -6
View File
@@ -9,13 +9,15 @@ jobs:
lint-check:
runs-on: ubuntu-latest
steps:
- name: Check out ${{ gitea.repository }} ${{ gitea.ref }} ${{ gitea.sha }}
- name: Check Out Repository
uses: actions/checkout@v4
run: echo "Checked out ${{ gitea.repository }} ${{ gitea.ref }} ${{ gitea.sha }}"
- name: Initialize ${{ runner.os }} ${{ runner.arch }}
- name: Initialize Runner
uses: actions/setup-node@v4
run: echo "Initialized ${{ runner.os }} ${{ runner.arch }}"
- name: Install linters
- name: Install Linters
run: |
npm install --no-save \
@eslint/eslintrc \
@@ -26,13 +28,13 @@ jobs:
stylelint \
stylelint-config-standard
- name: Verify linters
- name: Verify Linters
run: |
npx html-validate --version
npx stylelint --version
npx eslint --version
- name: Run HTML Validate
- name: Run HTMLValidate
id: html_lint
run: npx html-validate --config dev_config/.htmlvalidate.json "web/html/**/*"
@@ -48,7 +50,7 @@ jobs:
DEBUG: eslint:cli-engine
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
- name: Verify All Linters Passed
- name: Verify Linters
if: always()
run: |
if [ "${{ steps.html_lint.outcome }}" != "success" ] || \