Skip to content

Commit

Permalink
feat: support Node.js 20 (#396)
Browse files Browse the repository at this point in the history
Node 20 is now supported by the runner (actions/runner#2732) so we should make sure this library supports it as well.
  • Loading branch information
xiehan committed Oct 31, 2023
1 parent d204006 commit 9b1d043
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/model/actions-metadata-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ export enum RunsUsing {
*/
NODE_16 = 'node16',

/**
* "node20"
*/
NODE_20 = 'node20',

/**
* "composite"
*/
Expand All @@ -145,6 +150,7 @@ interface Runs {
* For JavaScript actions:
* - use `RunsUsing.NODE_12` for Node.js v12.
* - use `RunsUsing.NODE_16` for Node.js v16.
* - use `RunsUsing.NODE_20` for Node.js v20.
*
* For composite actions:
* - use `RunsUsing.COMPOSITE`
Expand Down

0 comments on commit 9b1d043

Please sign in to comment.