What version of node is used in Actions to run gh-scripts?
See original GitHub issueThe documentation does not detail what version of node is used to execute, and whether actions/setup-node
would of any use / relevance?
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
Create Your First Node.js GitHub Action: a How-To Guide
In this post, you'll learn what GitHub Actions are and how to create your first GitHub Action for your Node.js application.
Read more >scripts - npm Docs
The dependencies script is run any time an npm command causes changes to the node_modules directory. It is run AFTER the changes have...
Read more >A guide to GitHub Actions using Node.js for Git workflow ...
Learn how to write GitHub actions using Node.js, including environment setup, best practices, a step-by-step guide and code snippets.
Read more >How to Create a Custom GitHub Action with Node & JavaScript
For our custom GitHub Action, we're going to use node and ... to “run” node.js version 12; Setting our “main” entry point to...
Read more >Setting up a Node development environment - MDN Web Docs
Node can be run on Windows, macOS, many flavors of Linux, Docker, etc. There is a full list on the Node.js Downloads page....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The current
ubuntu-latest
runner isUbuntu 20.04.2
which, according to the docs is provided withNode 14.16.1
.I set up a job with the following statements:
And got the following as results from the console logs:
So I’d say that this action is overriding the version supplied by both the environment AND
actions/setup-node
. This is very annoying as it means that code I compiled from TS to JS for ES2020 will not execute due to the usage of the nullish coalescing operator and other features introduced in 14.Please revisit this.
Yep! https://github.com/actions/github-script/releases