Skip to content

Commit c4b885e

Browse files
authored
bump Node.js to 20.x (adoptium#2098)
1 parent de7cc06 commit c4b885e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
2121
with:
22-
node-version: '18'
22+
node-version: 20
2323
cache: npm
2424

2525
- run: npm install

.github/workflows/update_snapshot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node.js
2020
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
2121
with:
22-
node-version: '18'
22+
node-version: 20
2323
cache: npm
2424

2525
- name: Install dependencies

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ command = "npm run build"
44

55
[build.environment]
66
NODE_OPTIONS = "--max_old_space_size=4096"
7-
NODE_VERSION = "18"
7+
NODE_VERSION = "20"
88
GATSBY_CONCURRENT_DOWNLOAD = "15"
99
GATSBY_CPU_COUNT = "1"
1010

0 commit comments

Comments
 (0)