Skip to content

Commit

Permalink
ci(node): remove eol node versions
Browse files Browse the repository at this point in the history
This also fixes the tests on windows, which are currently broken in the main branch
  • Loading branch information
code-forger authored Jan 7, 2025
1 parent 2d19ea9 commit 5711e3d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 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', '20.x', '22.x' ]
node: [ '18.x', '20.x', '22.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', '20.x', '22.x' ]
node: [ '18.x', '20.x', '22.x' ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} - ${{ matrix.os }}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions __tests__/outdated-snapshot-reporter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ describe('OutdatedSnapshotReporter', () => {
cwd: tmpDir,
encoding: 'utf-8',
env: { ...process.env, ...environment },
shell: true,
});
if (child.error) throw child.error;

Expand Down
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"eslint-config-amex": "^7.0.0",
"husky": "^4.2.1",
"image-size": "^0.8.3",
"jest": "^29.0.0",
"jest": "^29.7.0",
"jest-snapshot": "^29.0.0",
"lockfile-lint": "^4.14.0",
"mock-spawn": "^0.2.6",
Expand Down Expand Up @@ -106,9 +106,9 @@
"@semantic-release/git",
"@semantic-release/github"
]
},
},
"overrides": {
"eslint-config-amex" : {
"eslint-config-amex": {
"eslint": "$eslint"
}
}
Expand Down

0 comments on commit 5711e3d

Please sign in to comment.