Skip to content

Commit

Permalink
Upgrade from node16 to node20 (#443)
Browse files Browse the repository at this point in the history
* Upgrade from node16 to node20

node16 is now EOL

* Ugrade node and npm versions

* Use the GitHub Actions reporter to stop failing on core.setFailure tests

* `npm >= 10` requires `node >= 20.5.0`

Co-authored-by: Paul <[email protected]>

---------

Co-authored-by: Jeff Widman <[email protected]>
Co-authored-by: Paul <[email protected]>
  • Loading branch information
3 people authored Mar 21, 2024
1 parent 8348ea7 commit f2f0ad1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.16.0
20.7.0
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ outputs:
maintainer-changes:
description: 'Whether or not the the body of this PR contains the phrase "Maintainer changes" which is an indicator of whether or not any maintainers have changed.'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
preset: 'ts-jest',
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest'
}
},
reporters: [['github-actions', {silent: false}], 'summary']
}
4 changes: 2 additions & 2 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"approve"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.10.0"
"node": ">=20.5.0",
"npm": ">=10.0.0"
},
"author": "dependabot",
"license": "MIT",
Expand Down

0 comments on commit f2f0ad1

Please sign in to comment.