25 lines
626 B
YAML
25 lines
626 B
YAML
name: Tests
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '24'
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '1.26'
|
|
# Skip the postinstall (npx playwright install chromium); the tests
|
|
# never launch a browser, so the ~170 MB download is pure CI overhead.
|
|
- run: npm install --ignore-scripts
|
|
- run: node test-all.mjs --quick
|
|
- name: Go dashboard tests
|
|
run: go test ./...
|
|
working-directory: dashboard
|