Skip to content

Commit 9bb21f3

Browse files
committed
Run frontend unit tests in CI
1 parent 6c015a3 commit 9bb21f3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
- name: Install frontend dependencies
2828
run: bun install --frozen-lockfile
2929

30+
- name: Test frontend
31+
run: bun run test
32+
3033
- name: Check frontend
3134
run: bun run check
3235

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"server:release": "cargo run --release -- --server 8080",
1212
"build": "vp build",
1313
"check": "vp check",
14+
"test": "bun test",
1415
"check:fix": "vp check --fix",
1516
"pack": "vp pack src/app.js --from-vite --out-dir dist/pack",
1617
"preview": "vp preview",

0 commit comments

Comments
 (0)