File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 test :
1111 name : Typecheck & Tests
12- runs-on : ubuntu-latest
12+ runs-on : ${{ matrix.os }}
1313 strategy :
1414 matrix :
15- node : [18, 20]
15+ os : [ubuntu-latest]
16+ node_version : [18.18.2, lts/*]
17+ include :
18+ - os : macos-latest
19+ node_version : lts/*
20+ - os : windows-latest
21+ node_version : lts/*
22+ fail-fast : false
1623 env :
1724 CI : true
1825 steps :
@@ -22,23 +29,23 @@ jobs:
2229 - name : Setup Node
2330 uses : actions/setup-node@v4
2431 with :
25- node-version : ${{ matrix.node }}
32+ node-version : ${{ matrix.node_version }}
2633 cache : pnpm
2734
2835 - name : Enable corepack (provides pnpm)
2936 run : corepack enable
3037
31- - name : Prepare pnpm
32- run :
corepack prepare [email protected] --activate 38+ - name : Setup
39+ run : npm i -g @antfu/ni
3340
34- - name : Install dependencies
35- run : pnpm install --frozen-lockfile
41+ - name : Install
42+ run : nci
3643
3744 - name : Typecheck
38- run : pnpm run typecheck
45+ run : nr typecheck
3946
4047 - name : Run tests
41- run : pnpm test -- --run
48+ run : nr test -- --run
4249
4350 - name : Run SSR check
44- run : pnpm run check:ssr
51+ run : nr check:ssr
You can’t perform that action at this time.
0 commit comments