What changed in actions/setup-node from 6 to 7
2 releases numbered after v6.5.0 up to and including v7.1.0, stable releases only. v6.5.0 and v7.1.0 are the newest stable releases of 6 and 7 we track; this page follows them as new ones ship.
24 changes across 2 releases
Added 3
Changed 17
- Update workflow pins and migrate Node matrices to modern versions
- Upgrade @actions/cache to 6.2.0
- Pin @types/node to v24
- Upgrade actions/checkout from 7.0.0 to 7.0.1
- Upgrade prettier from 3.8.4 to 3.9.6
- Upgrade @vercel/ncc from 0.44.0 to 0.45.0
- Upgrade pnpm/action-setup from 6.0.9 to 6.0.10
- Upgrade baseline-browser-mapping from 2.10.38 to 2.11.22
- Upgrade @types/semver from 7.7.1 to 7.8.0
- Upgrade @typescript-eslint/parser from 8.62.0 to 8.70.0
- Upgrade pnpm/action-setup from 6.0.10 to 6.1.0
- Upgrade jest-each from 30.4.1 to 30.5.2
- Upgrade eslint-plugin-n from 18.1.0 to 18.3.0
- Update dependencies and add license files
- Upgrade eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to 7.1.0
- Migrate to ESM and upgrade dependencies
- Upgrade @actions/cache to 5.1.0 and log cache write denied
Fixed 3
Security 1
- Override brace-expansion to 5.0.8
Original release notes, newest first
The list above is our reading of these notes; the originals from GitHub are here, one fold per release.
v7.1.0
What's Changed
Enhancements:
- Add support for mise.toml file by @gperdomor in https://github.com/actions/setup-node/pull/1421
- Support absolute paths in node-version-file by @v-mahabaleshwars in https://github.com/actions/setup-node/pull/1633
Bug fixes:
- Add Node version validation and manifest fetch retry by @v-jitenderpalsingh in https://github.com/actions/setup-node/pull/1580
Documentation updates:
- README.md: bump actions/checkout to latest version 7 by @deining in https://github.com/actions/setup-node/pull/1578
- docs: add V7 ESM migration and NODE_AUTH_TOKEN behavior change by @v-gowridurgad in https://github.com/actions/setup-node/pull/1593
- Fixed cache recommendation syntax by @SubJunk in https://github.com/actions/setup-node/pull/1603
Dependency updates:
- Update workflow pins and migrate Node matrices to modern versions by @v-HarithaVattikuti in https://github.com/actions/setup-node/pull/1583
- Upgrade @actions/cache to 6.2.0 by @philip-gai in https://github.com/actions/setup-node/pull/1584
- Pin @types/node to v24 by @v-priyagupta108 in https://github.com/actions/setup-node/pull/1585
- Override brace-expansion to 5.0.8 by @v-priyagupta108 with @Copilot in https://github.com/actions/setup-node/pull/1599
- Upgrade actions/checkout from 7.0.0 to 7.0.1 by @dependabot in https://github.com/actions/setup-node/pull/1598
- Upgrade prettier from 3.8.4 to 3.9.6 by @dependabot in https://github.com/actions/setup-node/pull/1590
- Upgrade @vercel/ncc from 0.44.0 to 0.45.0 by @dependabot in https://github.com/actions/setup-node/pull/1610
- Upgrade pnpm/action-setup from 6.0.9 to 6.0.10 by @dependabot in https://github.com/actions/setup-node/pull/1602
- Upgrade baseline-browser-mapping from 2.10.38 to 2.11.22 by @dependabot in https://github.com/actions/setup-node/pull/1629
- Upgrade @types/semver from 7.7.1 to 7.8.0 by @dependabot in https://github.com/actions/setup-node/pull/1616
- Upgrade @typescript-eslint/parser from 8.62.0 to 8.70.0 by @dependabot in https://github.com/actions/setup-node/pull/1615
- Upgrade pnpm/action-setup from 6.0.10 to 6.1.0 by @dependabot in https://github.com/actions/setup-node/pull/1631
- Upgrade jest-each from 30.4.1 to 30.5.2 by @dependabot in https://github.com/actions/setup-node/pull/1636
- Upgrade eslint-plugin-n from 18.1.0 to 18.3.0 by @dependabot in https://github.com/actions/setup-node/pull/1638
- Update dependencies and add license files by @v-HarithaVattikuti in https://github.com/actions/setup-node/pull/1642
- Upgrade eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to 7.1.0 by @dependabot in https://github.com/actions/setup-node/pull/1635
New Contributors
- @v-jitenderpalsingh made their first contribution in https://github.com/actions/setup-node/pull/1580
- @philip-gai made their first contribution in https://github.com/actions/setup-node/pull/1584
- @gperdomor made their first contribution in https://github.com/actions/setup-node/pull/1421
- @SubJunk made their first contribution in https://github.com/actions/setup-node/pull/1603
Full Changelog: https://github.com/actions/setup-node/compare/v7.0.0...v7.1.0
v7.0.0
What's Changed
Enhancements:
- Add cache-primary-key and cache-matched-key as outputs by @gowridurgad in https://github.com/actions/setup-node/pull/1577
- Migrate to ESM and upgrade dependencies by @gowridurgad in https://github.com/actions/setup-node/pull/1574
Bug fixes:
- Remove dummy NODE_AUTH_TOKEN export by @gowridurgad in https://github.com/actions/setup-node/pull/1558
- Only use
mirrorTokeningetManifestif it's provided by @deiga in https://github.com/actions/setup-node/pull/1548
Documentation updates:
- Add documentation for publishing to npm with Trusted Publisher (OIDC) by @chiranjib-swain in https://github.com/actions/setup-node/pull/1536
- docs: Update restore-only cache documentation by @priya-kinthali in https://github.com/actions/setup-node/pull/1550
- docs: Update caching recommendations to mitigate cache poisoning risks by @chiranjib-swain in https://github.com/actions/setup-node/pull/1567
Dependency update:
- Upgrade @actions/cache to 5.1.0, log cache write denied by @jasongin in https://github.com/actions/setup-node/pull/1569
New Contributors
- @chiranjib-swain made their first contribution in https://github.com/actions/setup-node/pull/1536
- @deiga made their first contribution in https://github.com/actions/setup-node/pull/1548
- @jasongin made their first contribution in https://github.com/actions/setup-node/pull/1569
Full Changelog: https://github.com/actions/setup-node/compare/v6...v7.0.0