Skip to content

Commit 9df80e7

Browse files
authored
Update CI NodeJS version from 16 to 18 (#2000)
1 parent d422700 commit 9df80e7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ jobs:
5757
- uses: Swatinem/rust-cache@v2
5858
- uses: actions/setup-node@v4.0.3
5959
with:
60-
node-version: '16' # An old version is used to ensure compatibility
60+
# Set to the oldest version still maintained, in order to ensure compatibility. See <https://nodejs.dev/en/about/releases/>
61+
node-version: '18'
6162
- uses: denoland/setup-deno@v2
6263
with:
6364
deno-version: v1.x

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ jobs:
180180
- run: rustup target add wasm32-unknown-unknown
181181
- uses: actions/setup-node@v4.0.3
182182
with:
183-
# Set the oldest version still maintained, in order to ensure compatibility. See <https://nodejs.dev/en/about/releases/>
184-
node-version: 16
183+
# Set to the oldest version still maintained, in order to ensure compatibility. See <https://nodejs.dev/en/about/releases/>
184+
node-version: 18
185185
- uses: Swatinem/rust-cache@v2
186186
- run: npm install
187187
working-directory: ./wasm-node/javascript
@@ -209,7 +209,8 @@ jobs:
209209
- run: rustup target add wasm32-unknown-unknown
210210
- uses: actions/setup-node@v4.0.3
211211
with:
212-
node-version: 16
212+
# Set to the oldest version still maintained, in order to ensure compatibility. See <https://nodejs.dev/en/about/releases/>
213+
node-version: 18
213214
- uses: denoland/setup-deno@v2
214215
with:
215216
deno-version: v1.x

0 commit comments

Comments
 (0)