Skip to content

Commit 7fd5462

Browse files
committed
Add GitHub Action to run bun test on pushes to main
1 parent 6cf68dd commit 7fd5462

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Test
2+
on:
3+
push:
4+
branches: [main] # Only runs on pushes to main
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: oven-sh/setup-bun@v1 # Installs Bun
11+
- run: bun install # Install dependencies
12+
- run: bun test # Runs .test.js files across the workspace

0 commit comments

Comments
 (0)