setup-node icon indicating copy to clipboard operation
setup-node copied to clipboard

Set up your GitHub Actions workflow with a specific version of node.js

Results 181 setup-node issues
Sort by recently updated
recently updated
newest added

**Description:** Adds the ability to set the `ignore-scripts` param in the runners npmrc. This enables you to prevent pre/postinstall-scripts in npm packages from running as they are a potential security...

**Description:** Adds the `corepack` option, which if `true` will run `corepack enable` to enable corepack. This option is by default `false` which ensures that there is no breaking change. Moreover,...

**Description:** ```yml - uses: actions/setup-node@v5 ``` Currently this uses what's available in $PATH, but I reckon it should prefer what the user _already_ specified as a compatible node version in...

feature request

**Description:** Describe your changes. **Related issue:** Add link to the related issue. **Check list:** - [x] Mark if documentation changes are required. - [x] Mark if tests were added or...

**Description:** Fixing confusing statement that says the action does not cache, when it does.

**Description:** In a `runs-on: ubuntu-latest` GitHub hosted runner, I found that even after doing: ```yaml - name: Set up Node uses: actions/setup-node@v4 with: node-version: 16 ``` that [`pre-commit run -a`](https://pre-commit.com/)...

feature request

**Description:** According to your docs there is no way to disable the lockfile check. They repeatedly say it is recommended to use a lockfile: https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#working-with-lockfiles https://github.com/actions/setup-node?tab=readme-ov-file#checking-in-lockfiles Unless I am missing...

feature request

**Description:** Support `working_directory` value. **Justification:** I have a mono-repo project whereas folder structure is: ``` . ├── backend docker-compose.dev.yml ├── docker-compose.yml~ ├── docs ├── downloads ├── frontend

feature request

Hello, **Description:** I'm struggling to figure out how to properly cache node-gyp builds. This adds +30s to my `yarn install`, by rebuilding them every time `yarn install` runs. After manually...

feature request

**Description:** `node-version-file` should support [rtx](https://github.com/jdxcode/rtx) too. heres what `.rtx.toml` looks like ``` [tools] yarn = "1.22.19" nodejs = "18.16.0" ``` I saw the regex [here](https://github.com/actions/setup-node/blob/main/src/util.ts#L16) doesn't work for this file....

feature request