Skip to content

Commit 2d19ea9

Browse files
authored
chore(node): upgrade to node v20
* chore(node): upgrade to node v20 * chore(node): also added node 22.x
1 parent da49e57 commit 2d19ea9

File tree

7 files changed

+11830
-10475
lines changed

7 files changed

+11830
-10475
lines changed

.github/workflows/health-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
tests:
1010
strategy:
1111
matrix:
12-
node: [ '14.x', '16.x', '18.x' ]
12+
node: [ '14.x', '16.x', '18.x', '20.x', '22.x' ]
1313
os: [ ubuntu-latest, windows-latest, macos-latest ]
1414
runs-on: ${{ matrix.os }}
1515
name: Node ${{ matrix.node }} - ${{ matrix.os }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
tests:
1010
strategy:
1111
matrix:
12-
node: [ '14.x', '16.x', '18.x' ]
12+
node: [ '14.x', '16.x', '18.x', '20.x', '22.x' ]
1313
os: [ ubuntu-latest, windows-latest, macos-latest ]
1414
runs-on: ${{ matrix.os }}
1515
name: Node ${{ matrix.node }} - ${{ matrix.os }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14
1+
20
Binary file not shown.

__tests__/integration.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ describe('toMatchImageSnapshot', () => {
312312
expect(fs.existsSync(pathToResultImage))
313313
.toBe(true);
314314

315-
expect(fs.readFileSync(pathToResultImage)).toEqual(largeImageFailureDiffData);
315+
expect(fs.readFileSync(pathToResultImage)).toMatchImageSnapshot(largeImageFailureDiffData);
316316
// just because file was written does not mean it is a png image
317317
expect(sizeOf(pathToResultImage))
318318
.toHaveProperty('type', 'png');

0 commit comments

Comments
 (0)