Skip to content

Commit

Permalink
chore(node): upgrade to node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
work933k committed Nov 4, 2024
1 parent da49e57 commit 372dd13
Show file tree
Hide file tree
Showing 7 changed files with 11,830 additions and 10,475 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
tests:
strategy:
matrix:
node: [ '14.x', '16.x', '18.x' ]
node: [ '14.x', '16.x', '18.x', '20.x' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} - ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
tests:
strategy:
matrix:
node: [ '14.x', '16.x', '18.x' ]
node: [ '14.x', '16.x', '18.x', '20.x' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} - ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20
Binary file not shown.
2 changes: 1 addition & 1 deletion __tests__/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ describe('toMatchImageSnapshot', () => {
expect(fs.existsSync(pathToResultImage))
.toBe(true);

expect(fs.readFileSync(pathToResultImage)).toEqual(largeImageFailureDiffData);
expect(fs.readFileSync(pathToResultImage)).toMatchImageSnapshot(largeImageFailureDiffData);
// just because file was written does not mean it is a png image
expect(sizeOf(pathToResultImage))
.toHaveProperty('type', 'png');
Expand Down
Loading

0 comments on commit 372dd13

Please sign in to comment.