Skip to content

Commit f2514b0

Browse files
authored
Bump node from 16 to 20 (#919)
1 parent 2007903 commit f2514b0

10 files changed

+37
-18
lines changed

Diff for: .github/workflows/check-action-metadata-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Action Metadata
22

33
env:
44
# See: https://github.com/actions/setup-node/#readme
5-
NODE_VERSION: 16.x
5+
NODE_VERSION: 20.x
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

Diff for: .github/workflows/check-npm-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check npm Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-node/#readme
6-
NODE_VERSION: 16.x
6+
NODE_VERSION: 20.x
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

Diff for: .github/workflows/check-prettier-formatting-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Prettier Formatting
33

44
env:
55
# See: https://github.com/actions/setup-node/#readme
6-
NODE_VERSION: 16.x
6+
NODE_VERSION: 20.x
77

88
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
99
on:

Diff for: .github/workflows/check-typescript-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check TypeScript
22

33
env:
44
# See: https://github.com/actions/setup-node/#readme
5-
NODE_VERSION: 16.x
5+
NODE_VERSION: 20.x
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

Diff for: .github/workflows/test-typescript-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Test TypeScript
22

33
env:
44
# See: https://github.com/actions/setup-node/#readme
5-
NODE_VERSION: 16.x
5+
NODE_VERSION: 20.x
66

77
on:
88
push:

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ https://taskfile.dev/#/installation
1616
Follow the installation instructions here:<br />
1717
https://nodejs.dev/en/download
1818

19-
Node.js 16.x is used for development of this project. [nvm](https://github.com/nvm-sh/nvm) is recommended to easily switch between Node.js versions.
19+
Node.js 20.x is used for development of this project. [nvm](https://github.com/nvm-sh/nvm) is recommended to easily switch between Node.js versions.
2020

2121
#### Extras
2222

Diff for: Taskfile.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ tasks:
220220
STYLELINTRC_SCHEMA_URL: https://json.schemastore.org/stylelintrc.json
221221
STYLELINTRC_SCHEMA_PATH:
222222
sh: task utility:mktemp-file TEMPLATE="stylelintrc-schema-XXXXXXXXXX.json"
223-
INSTANCE_PATH: "**/package.json"
223+
INSTANCE_PATH: >-
224+
{{default "." .PROJECT_PATH}}/package.json
224225
PROJECT_FOLDER:
225226
sh: pwd
226227
WORKING_FOLDER:

Diff for: action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ inputs:
1111
required: false
1212

1313
runs:
14-
using: "node16"
14+
using: "node20"
1515
main: "dist/index.js"

Diff for: package-lock.json

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

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"devDependencies": {
2525
"@actions/io": "^1.1.3",
2626
"@types/jest": "^28.1.8",
27-
"@types/node": "^16.18.79",
27+
"@types/node": "^20.11.16",
2828
"@types/semver": "^7.5.6",
2929
"@typescript-eslint/eslint-plugin": "^6.20.0",
3030
"@typescript-eslint/parser": "^6.20.0",

0 commit comments

Comments
 (0)