Skip to content

Commit 2eef6ad

Browse files
committed
ci: run tests and build on push
1 parent 6bc851f commit 2eef6ad

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
test-and-build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v6
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v6
19+
with:
20+
node-version: 24
21+
package-manager-cache: false
22+
23+
- name: Enable Corepack
24+
run: corepack enable
25+
26+
- name: Install dependencies
27+
run: yarn install --frozen-lockfile
28+
29+
- name: Run tests
30+
run: yarn test --run
31+
32+
- name: Build package
33+
run: yarn build

0 commit comments

Comments
 (0)