Skip to content

Commit a8c7950

Browse files
committed
Specify Node.js 16.x runtime for action execution in runner
The Node.js version for use when executing the action in the GitHub Actions runner is configured via the `runs.using` field of the `action.yml` metadata file. Previously, the action was configured to use Node.js 12.x. This was actually the result of an oversight, as Node.js 16.x has been used for the development and validation of the action since 2022-01-10. It will be important to use the same version on the runner as the action is validated for by the project infrastructure in order to ensure the expected behavior. In addition, GitHub has deprecated the use of Node.js 12.x runtime. A warning about this was shown in the workflow run summary page of all workflows using this action. That warning will be resolved, and the eventual complete breakage of those workflows avoided, by this change.
1 parent ead3aaf commit a8c7950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ inputs:
4040
required: false
4141
default: ${{ github.token }}
4242
runs:
43-
using: "node12"
43+
using: "node16"
4444
main: "dist/index.js"
4545
branding:
4646
icon: "check-square"

0 commit comments

Comments
 (0)