Skip to content

refactor: optimize service worker cache strategy and remove unused code #50

refactor: optimize service worker cache strategy and remove unused code

refactor: optimize service worker cache strategy and remove unused code #50

Workflow file for this run

name: CI Frontend
on:
push:
branches: ['**']
paths:
- 'static/**'
- 'test/**'
- '.github/workflows/ci_frontend.yml'
jobs:
frontend_lint:
name: Frontend Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run frontend syntax check
run: |
for f in static/script.js static/app_*.js static/html_export.js; do
echo "Checking $f..."
node -c "$f"
done
frontend_e2e:
name: Frontend E2E (Playwright)
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install E2E deps and browsers
working-directory: test
run: npm run setup:ci
- name: Run E2E tests
working-directory: test
run: npm run test:ci