-
-
Notifications
You must be signed in to change notification settings - Fork 2
25 lines (22 loc) · 755 Bytes
/
Copy pathtest.yml
File metadata and controls
25 lines (22 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '22'
- run: npm ci # prepare script builds the web UI (and regenerates public/js/pure.js)
# public/js/pure.js is generated from frontend/src/lib/{pure,markdown}.ts;
# fail when the committed copy has drifted from the TS sources.
- run: git diff --exit-code public/js/pure.js lib/generated/diagnostics.cjs
- run: npx biome check .
- run: npm test