1 Commits
Author SHA1 Message Date
alu 29baa6ee60 add lint workflow, remove node package
ProxmoxAAS-Dashboard Code Style Check / lint-check (push) Failing after 15s
2026-07-29 03:12:56 +00:00
+5 -7
View File
@@ -9,15 +9,13 @@ jobs:
lint-check:
runs-on: ubuntu-latest
steps:
- name: Check Out Repository
- name: Check out ${{ gitea.repository }} ${{ gitea.ref }} ${{ gitea.sha }}
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
run: echo "Initialized ${{ runner.os }} ${{ runner.arch }}"
- name: Install Linters
- name: Install linters
run: |
npm install --no-save \
@eslint/eslintrc \
@@ -28,7 +26,7 @@ jobs:
stylelint \
stylelint-config-standard
- name: Verify Linters
- name: Verify linters
run: |
npx html-validate --version
npx stylelint --version
@@ -50,7 +48,7 @@ jobs:
DEBUG: eslint:cli-engine
run: npx eslint --config dev_config/eslint.config.mjs --fix web/scripts/
- name: Verify Linters
- name: Verify All Linters Passed
if: always()
run: |
if [ "${{ steps.html_lint.outcome }}" != "success" ] || \