Skip to content

Commit

Permalink
ci: add node v20 (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 committed Apr 19, 2023
1 parent ace1305 commit 58654eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 19.x]
node-version: [14.x, 16.x, 18.x, 20.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion test/loader.test.js
Expand Up @@ -267,7 +267,7 @@ describe("source-map-loader", () => {
expect(codeFromBundle.map).toBeUndefined();
expect(codeFromBundle.code).toMatchSnapshot("code");

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

0 comments on commit 58654eb

Please sign in to comment.