fix: harden frontend state and tooling
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: Frontend
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check frontend
|
||||
run: |
|
||||
docker run --rm -v "$PWD/frontend:/src:ro" node:24.19.0-bookworm-slim \
|
||||
sh -c 'cp -a /src /tmp/frontend && cd /tmp/frontend && npm ci --no-audit --no-fund && npm run check'
|
||||
- name: Browser tests
|
||||
run: |
|
||||
docker run --rm --ipc=host -v "$PWD/frontend:/src:ro" mcr.microsoft.com/playwright:v1.62.1-noble \
|
||||
sh -c 'cp -a /src /tmp/frontend && cd /tmp/frontend && npm ci --no-audit --no-fund && npm run test:e2e'
|
||||
Reference in New Issue
Block a user