Runner: Supporting Node.js 14 LTS as the runtime of JavaScript action

Created on 28 Oct 2020  路  4Comments  路  Source: actions/runner

Describe the enhancement

Node.js v14.15.0 has been released and the 14.x release line now moves into Active LTS. Can the GitHub Actions runner support it as the runtime of a JavaScript (TypeScript) action? Is there a roadmap for this?

Code Snippet

Today, we can set node12 to runs.using.

runs:
  using: 'node12'
  main: 'main.js'

Can we set node14 as follows?

runs:
  using: 'node14'
  main: 'main.js'

Additional information

https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/metadata-syntax-for-github-actions#runs-for-javascript-actions

We also need to update the documentation when node14 is available.

enhancement

Most helpful comment

We need:

  • compile alpine node14
  • update the ./external.sh script to download the node14
  • update C# code and yaml schema to support node14
  • update documentation

All 4 comments

Is it done via actions/virtual-environments#1953 ?

No. This is a problem of the actions/runner.

https://github.com/peaceiris/actions-gh-pages/pull/539

https://github.com/peaceiris/actions-gh-pages/pull/539/checks?check_run_id=1437553870#step:19:20
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node14' is not supported, use 'docker' or 'node12' instead.')

We need:

  • compile alpine node14
  • update the ./external.sh script to download the node14
  • update C# code and yaml schema to support node14
  • update documentation
Was this page helpful?
0 / 5 - 0 ratings