fix: bump node to v20 (#614)

This commit is contained in:
Federico Grandi
2024-01-25 23:44:56 +01:00
committed by GitHub
parent 5e702fdb74
commit 81610ab502
4 changed files with 56 additions and 34 deletions

View File

@@ -17,7 +17,7 @@ inputs:
required: false
committer_name:
description: The name of the custom committer you want to use
required: false
required: false
committer_email:
description: The email of the custom committer you want to use
required: false
@@ -59,7 +59,7 @@ inputs:
tag_push:
description: Arguments for the git push --tags command (any additional argument will be added after --tags)
required: false
# Input not required from the user
github_token:
description: The token used to make requests to the GitHub API. It's NOT used to make commits and should not be changed.
@@ -81,7 +81,7 @@ outputs:
description: Whether the action has pushed a tag.
runs:
using: node16
using: node20
main: lib/index.js
branding:

4
lib/index.js generated

File diff suppressed because one or more lines are too long

33
package-lock.json generated
View File

@@ -17,7 +17,7 @@
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^12.12.54",
"@types/node": "^20.11.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.0",
"@vercel/ncc": "^0.38.1",
@@ -28,6 +28,9 @@
"husky": "^8.0.3",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -419,9 +422,12 @@
"integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg=="
},
"node_modules/@types/node": {
"version": "12.12.54",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz",
"integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w=="
"version": "20.11.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.6.tgz",
"integrity": "sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==",
"dependencies": {
"undici-types": "~5.26.4"
}
},
"node_modules/@types/semver": {
"version": "7.5.6",
@@ -3392,6 +3398,11 @@
"node": ">=14.17"
}
},
"node_modules/undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
"node_modules/universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",
@@ -3896,9 +3907,12 @@
"integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg=="
},
"@types/node": {
"version": "12.12.54",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.54.tgz",
"integrity": "sha512-ge4xZ3vSBornVYlDnk7yZ0gK6ChHf/CHB7Gl1I0Jhah8DDnEQqBzgohYG4FX4p81TNirSETOiSyn+y1r9/IR6w=="
"version": "20.11.6",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.6.tgz",
"integrity": "sha512-+EOokTnksGVgip2PbYbr3xnR7kZigh4LbybAfBAw5BpnQ+FqBYUsvCEjYd70IXKlbohQ64mzEYmMtlWUY8q//Q==",
"requires": {
"undici-types": "~5.26.4"
}
},
"@types/semver": {
"version": "7.5.6",
@@ -5974,6 +5988,11 @@
"integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
"dev": true
},
"undici-types": {
"version": "5.26.5",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",
"integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="
},
"universal-user-agent": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz",

View File

@@ -12,6 +12,30 @@
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@actions/core": "^1.10.1",
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
"js-yaml": "^4.1.0",
"simple-git": "^3.18.0",
"string-argv": "^0.3.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.11.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.0",
"@vercel/ncc": "^0.38.1",
"all-contributors-cli": "^6.26.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EndBug/add-and-commit.git"
@@ -28,26 +52,5 @@
"bugs": {
"url": "https://github.com/EndBug/add-and-commit/issues"
},
"homepage": "https://github.com/EndBug/add-and-commit#readme",
"dependencies": {
"@actions/core": "^1.10.1",
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
"js-yaml": "^4.1.0",
"simple-git": "^3.18.0",
"string-argv": "^0.3.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^12.12.54",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.0",
"@vercel/ncc": "^0.38.1",
"all-contributors-cli": "^6.26.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"prettier": "^3.2.4",
"typescript": "^5.3.3"
}
"homepage": "https://github.com/EndBug/add-and-commit#readme"
}