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:** Could you please add simple `lts` alias for the latest lts version in addition to the `lts/*`? `lts/*` is not obvious, ugly and confusing. If ypu don't want to...

feature request

Bumps [undici](https://github.com/nodejs/undici) from 5.28.3 to 5.28.4. Release notes Sourced from undici's releases. v5.28.4 :warning: Security Release :warning: Fixes https://github.com/nodejs/undici/security/advisories/GHSA-m4v8-wqvr-p9f7 CVE-2024-30260 Fixes https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672 CVE-2024-30261 Full Changelog: https://github.com/nodejs/undici/compare/v5.28.3...v5.28.4 Commits fb98306 Bumped v5.28.4...

dependencies

**Description:** Using the following configuration installs Node.js 20.10.0, an old version. [Node.js 20.11.0](https://nodejs.org/en/blog/release/v20.11.0) has been out since 10 Jan 2024. ``` - uses: actions/setup-node@v4 with: node-version: 'lts/*' check-latest: true ```...

bug

**Description:** The .npmrc file created by the action does not match what is specified in https://docs.npmjs.com/cli/v10/configuring-npm/npmrc/ Primarily, it copies the exact registry-url without stripping the protocol when creating the auth...

bug

This is the github action I am trying to execute. ```jobs: build: strategy: fail-fast: false matrix: include: - os: ubuntu-latest platform: linux arch: arm64 - os: macos-13 platform: darwin arch:...

bug

yaml file ```name: Node.js Package on: release: types: [created] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - uses: pnpm/action-setup@v2 with: version: 8 - run: bun i...

bug

**Description:** actions/setup-node@v4 on Windows takes ~4min actions/setup-node@v4 on Ubuntu takes ~5s ![image](https://github.com/actions/setup-node/assets/4990691/f5c690d3-0d09-4157-8686-3e2aa339c04f) ![image](https://github.com/actions/setup-node/assets/4990691/8532e878-d1b6-48b8-bf41-49430eb383b6) **Action version:** 4 **Platform:** - [ ] Ubuntu - [ ] macOS - [x] Windows **Runner type:**...

feature request

**Description:** _Updated version of corepack support due to the original author [not having time to refactor the original PR](https://github.com/actions/setup-node/pull/651#issuecomment-1737078570)_ Adds `corepack` option in which workflows can specify `true` or a...

**Description:** In addition to supporting the `node-version` and `node-version-file` inputs, the workflow should check `.node-version` when neither input is supplied, and only fallback to `latest` if neither input was supplied,...

feature request

**Description:** Support using https://github.com/nodejs/corepack to manage non-NPM package managers. Ideally in between installing node and bootstrapping the package manager cache, this action: * enables corepack (could be a no-op depending...

feature request
needs eyes