Skip to content

Commit e7bb924

Browse files
committed
ci: drop node 16
1 parent a162f37 commit e7bb924

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/unit-test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,26 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: [ubuntu-latest, windows-latest]
38-
node: [16, 18, 20]
38+
node: [18, 20, 22]
3939
fail-fast: false
4040

4141
steps:
4242
- uses: actions/checkout@v4
4343

44+
- name: Enable Corepack
45+
run: corepack enable
46+
4447
- name: Set node ${{ matrix.node }}
4548
uses: actions/setup-node@v4
4649
with:
4750
node-version: ${{ matrix.node }}
48-
49-
- name: Setup
50-
run: npm i -g @antfu/ni
51+
cache: pnpm
5152

5253
- name: Install
53-
run: nci
54+
run: pnpm install
5455

5556
- name: Build
56-
run: nr build
57+
run: pnpm run build
5758

5859
- name: Test
59-
run: nr test
60+
run: pnpm run test

0 commit comments

Comments
 (0)