We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9fe605 commit fe7a6b1Copy full SHA for fe7a6b1
‎.github/workflows/tests.yml‎
@@ -0,0 +1,25 @@
1
+name: tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ pull_request:
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Bun
17
+ uses: oven-sh/setup-bun@v2
18
+ with:
19
+ bun-version: latest
20
21
+ - name: Install dependencies
22
+ run: bun install --frozen-lockfile
23
24
+ - name: Run tests
25
+ run: bun run test
‎package.json‎
@@ -9,7 +9,8 @@
"scripts": {
"dev": "bun run src/index.tsx",
"build": "bun build src/index.tsx --outdir dist --target node --minify",
- "start": "bun run dist/index.js"
+ "start": "bun run dist/index.js",
+ "test": "bun test"
},
"keywords": [
"beambox",
0 commit comments