From e6fd857f6d39a49df23114f7cecbc0ababa40539 Mon Sep 17 00:00:00 2001 From: Alexa Amundson <118287761+blackboxprogramming@users.noreply.github.com> Date: Mon, 16 Mar 2026 12:22:10 -0500 Subject: [PATCH] =?UTF-8?q?cleanup:=20remove=20unused=20workflow=20?= =?UTF-8?q?=E2=80=94=20Actions=20disabled,=20CI=20runs=20on=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/frontend-ci.yml | 77 ------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 .github/workflows/frontend-ci.yml diff --git a/.github/workflows/frontend-ci.yml b/.github/workflows/frontend-ci.yml deleted file mode 100644 index b409f2c..0000000 --- a/.github/workflows/frontend-ci.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: Frontend CI - -on: - pull_request: - paths: - - 'backend/static/**' - - 'blackroad-os/**' - - 'prism-console/**' - push: - branches: [main, develop] - paths: - - 'backend/static/**' - - 'prism-console/**' - -jobs: - frontend-checks: - name: Frontend Validation - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '18' - - - name: Set up Python (for validation script) - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install validation tools - run: | - pip install html5lib beautifulsoup4 - npm install -g jshint eslint - - - name: Validate HTML - run: | - python validate_html.py - - - name: Validate JavaScript syntax - run: | - find backend/static/js -name "*.js" -exec node -c {} \; || true - find prism-console/modules -name "*.js" -exec node -c {} \; || true - - - name: Check for common JS issues - run: | - echo "Checking for eval(), innerHTML without sanitization..." - ! grep -r "eval(" backend/static/js/ || echo "Warning: eval() found" - ! grep -r "\.innerHTML\s*=" backend/static/js/ || echo "Warning: innerHTML assignment found" - - - name: Validate CSS - run: | - npm install -g csslint - find backend/static -name "*.css" -exec csslint {} \; || true - find prism-console/styles -name "*.css" -exec csslint {} \; || true - - - name: Check Prism Console structure - run: | - test -f prism-console/pages/merge-dashboard.html || exit 1 - test -f prism-console/modules/merge-dashboard.js || exit 1 - test -f prism-console/styles/merge-dashboard.css || exit 1 - echo "✓ Prism Console structure validated" - - - name: Validate asset paths - run: | - echo "Checking for broken asset paths..." - grep -r "src=\"" backend/static/*.html | grep -v "http" || true - - - name: Summary - run: | - echo "✅ Frontend CI checks completed" - echo "📊 Files validated:" - find backend/static -name "*.html" -o -name "*.js" -o -name "*.css" | wc -l - find prism-console -name "*.html" -o -name "*.js" -o -name "*.css" | wc -l