Skip to content

Commit c9a75b0

Browse files
committed
Add workflow
1 parent 87a9821 commit c9a75b0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/cy.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
test:
14+
runs-on: ${{ matrix.os }}
15+
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest]
19+
fail-fast: false
20+
21+
steps:
22+
- id: checkout
23+
name: Checkout
24+
uses: actions/checkout@v4
25+
- id: setup-bun
26+
name: Setup Bun
27+
uses: oven-sh/setup-bun@v2
28+
with:
29+
bun-version: latest
30+
- id: install-deps
31+
name: Install dependencies
32+
run: |
33+
bun install
34+
- id: test
35+
name: Run test
36+
run: |
37+
bun test

0 commit comments

Comments
 (0)