Skip to content

Commit 58654eb

Browse files
authored
ci: add node v20 (webpack-contrib#209)
1 parent ace1305 commit 58654eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
strategy:
6161
matrix:
6262
os: [ubuntu-latest, windows-latest, macos-latest]
63-
node-version: [14.x, 16.x, 18.x, 19.x]
63+
node-version: [14.x, 16.x, 18.x, 20.x]
6464
webpack-version: [latest]
6565

6666
runs-on: ${{ matrix.os }}

test/loader.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ describe("source-map-loader", () => {
267267
expect(codeFromBundle.map).toBeUndefined();
268268
expect(codeFromBundle.code).toMatchSnapshot("code");
269269

270-
if (process.version.startsWith("v19")) {
270+
if (process.version.startsWith("v20")) {
271271
expect(getWarnings(stats)[0]).toContain(
272272
`SyntaxError: Unexpected non-whitespace character after JSON at position 102`
273273
);

0 commit comments

Comments
 (0)