8000 ci: remove node 16 · unjs/unplugin@0b5072f · GitHub
[go: up one dir, main page]

Skip to content 6605

Commit 0b5072f

Browse files
committed
ci: remove node 16
Vite 6 and Vitest cannot run on node 16.
1 parent d5d944b commit 0b5072f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,26 @@ jobs:
2727
strategy:
2828
matrix:
2929
os: [ubuntu-latest, macos-latest, windows-latest]
30-
node: [16, 18, 20, 22]
30+
node: [18, 20, 22]
3131
fail-fast: false
3232

3333
steps:
34-
- uses: actions/checkout@v4
34+
- name: Checkout
35+
uses: actions/checkout@v4
3536

36-
- name: Setup pnpm
37-
uses: pnpm/action-setup@v4
37+
- name: Set node version to ${{ matrix.node }}
38+
uses: actions/setup-node@v4
3839
with:
39-
standalone: ${{ matrix.node == 16 }}
40+
node-version: ${{ matrix.node }}
41+
42+
- name: Enable Corepack
43+
run: corepack enable
4044

4145
- name: Set node version to ${{ matrix.node }}
4246
uses: actions/setup-node@v4
4347
with:
4448
node-version: ${{ matrix.node }}
49+
cache: pnpm
4550

4651
- name: Install
4752
run: pnpm i

0 commit comments

Comments
 (0)
0