Skip to content

Commit d34c3ba

Browse files
committed
ci
1 parent 11165f8 commit d34c3ba

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'test'
2+
on: push
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
10+
- name: Install pnpm
11+
uses: pnpm/action-setup@v4.0.0
12+
13+
- name: Install Node.js
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version-file: '.node-version'
17+
cache: 'pnpm'
18+
19+
- run: pnpm install
20+
21+
- name: Run unit tests
22+
run: pnpm test

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)