File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 lint :
11+ name : Lint
1112 runs-on : ubuntu-latest
1213 steps :
1314 - name : Checkout repository
Original file line number Diff line number Diff line change 1+ name : Test
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ name : Test on ${{ matrix.os }} using Node.js v${{ matrix.node }}
12+ strategy :
13+ matrix :
14+ os : [windows-latest, macos-latest, ubuntu-latest]
15+ # This should also include Node.js v20, but snapshot testing is only
16+ # available in Node.js v22.3 or later.
17+ node : [22, 24]
18+ runs-on : ${{ matrix.os }}
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v5
22+ - name : Setup Node.js
23+ uses : actions/setup-node@v5
24+ with :
25+ node-version : ${{ matrix.node }}
26+ package-manager-cache : false
27+ - name : Setup pnpm
28+ uses : pnpm/action-setup@v4
29+ with :
30+ version : latest
31+ run_install : true
32+ - name : Run tests
33+ run : pnpm test
You can’t perform that action at this time.
0 commit comments