mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-18 00:34:01 -05:00
Update .github/workflows/frontend-ci-bucketed.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
6
.github/workflows/frontend-ci-bucketed.yml
vendored
6
.github/workflows/frontend-ci-bucketed.yml
vendored
@@ -23,20 +23,20 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Validate HTML
|
- name: Validate HTML
|
||||||
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
# Install html5validator
|
# Install html5validator
|
||||||
pip install html5validator
|
pip install html5validator
|
||||||
|
|
||||||
# Validate backend/static/index.html
|
# Validate backend/static/index.html
|
||||||
if [ -f backend/static/index.html ]; then
|
if [ -f backend/static/index.html ]; then
|
||||||
html5validator --root backend/static/ || echo "HTML validation issues found"
|
html5validator --root backend/static/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Validate blackroad-os/index.html
|
# Validate blackroad-os/index.html
|
||||||
if [ -f blackroad-os/index.html ]; then
|
if [ -f blackroad-os/index.html ]; then
|
||||||
html5validator --root blackroad-os/ || echo "HTML validation issues found"
|
html5validator --root blackroad-os/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Check JavaScript syntax
|
- name: Check JavaScript syntax
|
||||||
run: |
|
run: |
|
||||||
# Install Node.js for syntax checking
|
# Install Node.js for syntax checking
|
||||||
|
|||||||
Reference in New Issue
Block a user