-
-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (27 loc) · 648 Bytes
/
ci.yml
File metadata and controls
32 lines (27 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
push:
branches: [main]
pull_request: {}
jobs:
test:
name: Node.js v${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- name: (env) setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.13.1
- name: (env) setup node v${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: pnpm
- run: pnpm install --ignore-scripts
- run: pnpm run build
- run: pnpm run test
- run: pnpm run typecheck