Skip to content

Commit 653ea3f

Browse files
committed
Update pnpm and Node.js on CI
1 parent 98b240f commit 653ea3f

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,40 +14,41 @@ jobs:
1414
- name: Checkout the repository
1515
uses: actions/checkout@v4
1616
- name: Install pnpm
17-
uses: pnpm/action-setup@v2
17+
uses: pnpm/action-setup@v4
1818
with:
19-
version: 8
19+
version: 9
2020
- name: Install Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
23-
node-version: 20
23+
node-version: 22
2424
cache: pnpm
2525
- name: Install dependencies
26-
run: pnpm install --frozen-lockfile --ignore-scripts
26+
run: pnpm install --ignore-scripts
2727
- name: Run tests
2828
run: pnpm test
2929
short:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
3333
node-version:
34+
- 20
3435
- 18
3536
- 16
3637
name: Node.js ${{ matrix.node-version }} Quick
3738
steps:
3839
- name: Checkout the repository
3940
uses: actions/checkout@v4
4041
- name: Install pnpm
41-
uses: pnpm/action-setup@v2
42+
uses: pnpm/action-setup@v4
4243
with:
43-
version: 8
44+
version: 9
4445
- name: Install Node.js ${{ matrix.node-version }}
45-
uses: actions/setup-node@v3
46+
uses: actions/setup-node@v4
4647
with:
4748
node-version: ${{ matrix.node-version }}
4849
cache: pnpm
4950
- name: Install dependencies
50-
run: pnpm install --frozen-lockfile --ignore-scripts
51+
run: pnpm install --ignore-scripts
5152
- name: Run unit tests
5253
run: pnpm unit
5354
old:
@@ -68,7 +69,7 @@ jobs:
6869
env:
6970
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
7071
- name: Install Node.js ${{ matrix.node-version }}
71-
uses: actions/setup-node@v3
72+
uses: actions/setup-node@v4
7273
with:
7374
node-version: ${{ matrix.node-version }}
7475
- name: Install dependencies

0 commit comments

Comments
 (0)