Skip to content

Commit 999ec92

Browse files
committed
ci: fix ci node/pnpm versions
1 parent ef683fd commit 999ec92

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ on:
33
pull_request:
44
push:
55
branches:
6-
- master
76
- main
87

98
jobs:
@@ -15,22 +14,12 @@ jobs:
1514
matrix:
1615
os:
1716
- ubuntu-latest
18-
# - macos-latest
19-
# - windows-latest
20-
node:
21-
- 20
22-
pnpm:
23-
- 8
2417
steps:
2518
- uses: actions/checkout@v4
26-
2719
- uses: pnpm/action-setup@v4
28-
with:
29-
version: ${{ matrix.pnpm }}
30-
3120
- uses: actions/setup-node@v4
3221
with:
33-
node-version: ${{ matrix.node }}
22+
node-version-file: ".nvmrc"
3423
cache: "pnpm"
3524

3625
- name: Install and build

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.14.0

cspell.config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ words:
5151
- noprogressbar
5252
- nothrow
5353
- npmrc
54+
- nvmrc
5455
- Opencppcoverage
5556
- OSSDK
5657
- parceljs

0 commit comments

Comments
 (0)