Skip to content

Commit 6e2551e

Browse files
committed
feat: ci lint and test
1 parent 0711236 commit 6e2551e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Lint & Test
2+
3+
on: [push]
4+
5+
jobs:
6+
lint-and-test:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: ["20.9", "21.x", "22.x", "24.x"]
12+
13+
steps:
14+
- uses: actions/checkout@v6
15+
16+
- uses: actions/setup-node@v6
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
cache: "pnpm"
20+
21+
- uses: pnpm/action-setup@v4
22+
23+
- run: pnpm install --frozen-lockfile
24+
25+
- run: pnpm lint
26+
- run: pnpm test

0 commit comments

Comments
 (0)