Bump node from 16 to 20 (#919) · arduino/setup-task@f2514b0 (original) (raw)

10 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check Action Metadata
2 2
3 3 env:
4 4 # See: https://github.com/actions/setup-node/#readme
5 -NODE_VERSION: 16.x
5 +NODE_VERSION: 20.x
6 6
7 7 # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
8 8 on:
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check npm Dependencies
3 3
4 4 env:
5 5 # See: https://github.com/actions/setup-node/#readme
6 -NODE_VERSION: 16.x
6 +NODE_VERSION: 20.x
7 7
8 8 # See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
9 9 on:
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: Check Prettier Formatting
3 3
4 4 env:
5 5 # See: https://github.com/actions/setup-node/#readme
6 -NODE_VERSION: 16.x
6 +NODE_VERSION: 20.x
7 7
8 8 # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
9 9 on:
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Check TypeScript
2 2
3 3 env:
4 4 # See: https://github.com/actions/setup-node/#readme
5 -NODE_VERSION: 16.x
5 +NODE_VERSION: 20.x
6 6
7 7 # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
8 8 on:
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: Test TypeScript
2 2
3 3 env:
4 4 # See: https://github.com/actions/setup-node/#readme
5 -NODE_VERSION: 16.x
5 +NODE_VERSION: 20.x
6 6
7 7 on:
8 8 push:
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ https://taskfile.dev/#/installation
16 16 Follow the installation instructions here:
17 17 https://nodejs.dev/en/download
18 18
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.
20 20
21 21 #### Extras
22 22
Original file line number Diff line number Diff line change
@@ -220,7 +220,8 @@ tasks:
220 220 STYLELINTRC_SCHEMA_URL: https://json.schemastore.org/stylelintrc.json
221 221 STYLELINTRC_SCHEMA_PATH:
222 222 sh: task utility:mktemp-file TEMPLATE="stylelintrc-schema-XXXXXXXXXX.json"
223 -INSTANCE_PATH: "**/package.json"
223 +INSTANCE_PATH: >-
224 + {{default "." .PROJECT_PATH}}/package.json
224 225 PROJECT_FOLDER:
225 226 sh: pwd
226 227 WORKING_FOLDER:
Original file line number Diff line number Diff line change
@@ -11,5 +11,5 @@ inputs:
11 11 required: false
12 12
13 13 runs:
14 -using: "node16"
14 +using: "node20"
15 15 main: "dist/index.js"
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
24 24 "devDependencies": {
25 25 "@actions/io": "^1.1.3",
26 26 "@types/jest": "^28.1.8",
27 -"@types/node": "^16.18.79",
27 +"@types/node": "^20.11.16",
28 28 "@types/semver": "^7.5.6",
29 29 "@typescript-eslint/eslint-plugin": "^6.20.0",
30 30 "@typescript-eslint/parser": "^6.20.0",