Upgrade from node16 to node20 (#443)

* 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 <schuette.paul@gmail.com>

---------

Co-authored-by: Jeff Widman <jeff@jeffwidman.com>
Co-authored-by: Paul <schuette.paul@gmail.com>
This commit is contained in:
Nish Sinha
2024-03-21 13:58:45 -04:00
committed by GitHub
parent 8348ea7f5d
commit f2f0ad1522
5 changed files with 8 additions and 7 deletions

2
.nvmrc
View File

@@ -1 +1 @@
16.16.0
20.7.0

View File

@@ -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'

View File

@@ -2,5 +2,6 @@ module.exports = {
preset: 'ts-jest',
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest'
}
},
reporters: [['github-actions', {silent: false}], 'summary']
}

4
package-lock.json generated
View File

@@ -35,8 +35,8 @@
"yargs": "^17.7.2"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.10.0"
"node": ">=20.0.0",
"npm": ">=10.0.0"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@@ -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",