Skip to content

Commit 6d38991

Browse files
committed
Setup GitHub Actions
Signed-off-by: moznion <moznion@mail.moznion.net>
1 parent b1affa2 commit 6d38991

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
node: [ 18, 20, 22 ]
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Install pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: 10
21+
- name: Install dependencies
22+
run: pnpm install
23+
- name: Run tests
24+
run: pnpm test

0 commit comments

Comments
 (0)