Skip to content

Commit 0af7379

Browse files
authored
chore!: require Node.js v20 instead of v18 (#4680)
1 parent 0eb2a8f commit 0af7379

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/pr.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
echo "::error::Uh oh! builds/ was changed."; exit 1
3434
- uses: pnpm/action-setup@v3
3535
- uses: actions/setup-node@v4
36-
with: { node-version: 18, cache: pnpm }
36+
with: { node-version-file: '.nvmrc', cache: pnpm }
3737
- run: pnpm i --frozen-lockfile
3838
- run: pnpm lint
3939

@@ -45,7 +45,7 @@ jobs:
4545
- uses: actions/checkout@v4
4646
- uses: pnpm/action-setup@v3
4747
- uses: actions/setup-node@v4
48-
with: { node-version: 18, cache: pnpm }
48+
with: { node-version-file: '.nvmrc', cache: pnpm }
4949
- run: pnpm i --frozen-lockfile
5050
- run: pnpm test:build
5151
- run: pnpm build:w3c
@@ -62,7 +62,7 @@ jobs:
6262
- uses: actions/checkout@v4
6363
- uses: pnpm/action-setup@v3
6464
- uses: actions/setup-node@v4
65-
with: { node-version: 18, cache: pnpm }
65+
with: { node-version-file: '.nvmrc', cache: pnpm }
6666
- run: pnpm i --frozen-lockfile
6767
- run: pnpm build:w3c & pnpm build:geonovum
6868
- run: pnpm test:unit
@@ -80,7 +80,7 @@ jobs:
8080
- uses: actions/checkout@v4
8181
- uses: pnpm/action-setup@v3
8282
- uses: actions/setup-node@v4
83-
with: { node-version: 18, cache: pnpm }
83+
with: { node-version-file: '.nvmrc', cache: pnpm }
8484
- run: pnpm i --frozen-lockfile
8585
- run: pnpm build:w3c
8686
- name: run validator

.github/workflows/push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- uses: pnpm/action-setup@v3
3232
- uses: actions/setup-node@v4
33-
with: { node-version: 18, cache: pnpm }
33+
with: { node-version-file: '.nvmrc', cache: pnpm }
3434
- run: pnpm i --frozen-lockfile
3535
- run: pnpm build:w3c
3636
- run: pnpm test:headless
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@v4
5656
- uses: pnpm/action-setup@v3
5757
- uses: actions/setup-node@v4
58-
with: { node-version: 18, cache: pnpm }
58+
with: { node-version-file: '.nvmrc', cache: pnpm }
5959
- run: pnpm i --frozen-lockfile
6060
- run: pnpm build:w3c & pnpm build:geonovum
6161
- run: pnpm test

.github/workflows/regressions.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: pnpm/action-setup@v3
1616
- uses: actions/setup-node@v4
17-
with: { node-version: 18, cache: pnpm }
17+
with: { node-version-file: '.nvmrc', cache: pnpm }
1818
- run: pnpm i --frozen-lockfile
1919
- run: pnpm build:w3c
2020
- uses: actions/upload-artifact@v4
@@ -44,7 +44,7 @@ jobs:
4444
- uses: actions/checkout@v4
4545
- uses: pnpm/action-setup@v3
4646
- uses: actions/setup-node@v4
47-
with: { node-version: 18, cache: pnpm }
47+
with: { node-version-file: '.nvmrc', cache: pnpm }
4848
- run: pnpm i --frozen-lockfile
4949
- uses: actions/download-artifact@v4
5050
with:

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"license": "W3C",
55
"description": "A technical specification pre-processor.",
66
"engines": {
7-
"node": ">=18.14"
7+
"node": ">=20.12.1"
88
},
9-
"packageManager": "pnpm@8.15.4",
9+
"packageManager": "pnpm@8.15.6",
1010
"bin": {
1111
"respec": "tools/respec2html.js",
1212
"respec2html": "tools/respec2html.js"

0 commit comments

Comments
 (0)