Skip to content

Commit cca45b3

Browse files
committed
Add github test and check workflow
1 parent 248b68b commit cca45b3

File tree

1 file changed

+25
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)