Skip to content

Commit 81610ab

Browse files
authored
fix: bump node to v20 (#614)
1 parent 5e702fd commit 81610ab

File tree

4 files changed

+53
-31
lines changed

4 files changed

+53
-31
lines changed

action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inputs:
1717
required: false
1818
committer_name:
1919
description: The name of the custom committer you want to use
20-
required: false
20+
required: false
2121
committer_email:
2222
description: The email of the custom committer you want to use
2323
required: false
@@ -59,7 +59,7 @@ inputs:
5959
tag_push:
6060
description: Arguments for the git push --tags command (any additional argument will be added after --tags)
6161
required: false
62-
62+
6363
# Input not required from the user
6464
github_token:
6565
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:
8181
description: Whether the action has pushed a tag.
8282

8383
runs:
84-
using: node16
84+
using: node20
8585
main: lib/index.js
8686

8787
branding:

lib/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+26-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+22-19
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@
1212
"prepare": "husky install",
1313
"test": "echo \"Error: no test specified\" && exit 1"
1414
},
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/EndBug/add-and-commit.git"
18-
},
19-
"keywords": [
20-
"github",
21-
"action",
22-
"version",
23-
"npm",
24-
"node"
25-
],
26-
"author": "Federico Grandi <[email protected]>",
27-
"license": "MIT",
28-
"bugs": {
29-
"url": "https://github.com/EndBug/add-and-commit/issues"
30-
},
31-
"homepage": "https://github.com/EndBug/add-and-commit#readme",
3215
"dependencies": {
3316
"@actions/core": "^1.10.1",
3417
"actions-toolkit": "github:EndBug/actions-toolkit#core-actions",
@@ -38,7 +21,7 @@
3821
},
3922
"devDependencies": {
4023
"@types/js-yaml": "^4.0.9",
41-
"@types/node": "^12.12.54",
24+
"@types/node": "^20.11.6",
4225
"@typescript-eslint/eslint-plugin": "^6.19.1",
4326
"@typescript-eslint/parser": "^6.19.0",
4427
"@vercel/ncc": "^0.38.1",
@@ -49,5 +32,25 @@
4932
"husky": "^8.0.3",
5033
"prettier": "^3.2.4",
5134
"typescript": "^5.3.3"
52-
}
35+
},
36+
"engines": {
37+
"node": ">=20"
38+
},
39+
"repository": {
40+
"type": "git",
41+
"url": "git+https://github.com/EndBug/add-and-commit.git"
42+
},
43+
"keywords": [
44+
"github",
45+
"action",
46+
"version",
47+
"npm",
48+
"node"
49+
],
50+
"author": "Federico Grandi <[email protected]>",
51+
"license": "MIT",
52+
"bugs": {
53+
"url": "https://github.com/EndBug/add-and-commit/issues"
54+
},
55+
"homepage": "https://github.com/EndBug/add-and-commit#readme"
5356
}

0 commit comments

Comments
 (0)