setup-node
setup-node copied to clipboard
Set up your GitHub Actions workflow with a specific version of node.js
\*\*Description:\*\* \- Move Prettier 1 \->2 to support \`.\` glob and built\-in parsers \- Move whitespace settings to EditorConfig that Prettier reads \- Expand glob to run on all non\-generated...
**Description:** Executes `corepack enable` when the detected node version is 14+. This will enable support for the `packageManager` field for `yarn` and `pnpm` **Related issue:** https://github.com/actions/setup-node/issues/480 **Check list:** - [...
It's my first time using the annotations feature, so please forgive me if this issue is irrelevant. I'm trying to have annotations in the PR, however all I can get...
How can we enable problem matchers for various testing tools like https://github.com/mochajs/mocha? Is there a reporting format that we should use for it to be matched by the runner when...
**Description:** Support `.node-version` and `.nvmrc` automatically when neither `node-version` and `node-version-file` inputs are provided, without requiring the user specify `node-version-file`. **Related issue:** https://github.com/actions/setup-node/issues/683 **Check list:** - [x] Mark if documentation...
**Description:** The test fails when run on non-x86 architectures such as Apple Silicon. The return value of `os.arch()` can be replaced using Jest's `spyOn()` so that tests can be run...
As I've used the setup-node action in about a dozen projects now, I've consistently needed to set the `scope` input for the action. This seems redundant because this information is...
Signed-off-by: jongwooo ## Description Return early is the way of writing functions or methods so that the expected positive result is returned at the end of the function and the...
Allows registering of new problem matchers by adding them to folder
**Description:** Similar to how we can set the node version I'd like to set the npm version. ``` node-version: 1.16.x npm-version: 8.5.5 ``` There is a similar issue here https://github.com/actions/setup-node/issues/213,...