Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump setup-node GitHub Action to v3 #971

Closed
nelsonni opened this issue Oct 14, 2022 · 0 comments · Fixed by #1031
Closed

Bump setup-node GitHub Action to v3 #971

nelsonni opened this issue Oct 14, 2022 · 0 comments · Fixed by #1031
Assignees
Labels
dependencies Issues or updates to dependency files feature Feature requests or improvements

Comments

@nelsonni
Copy link
Member

Bumps actions/setup-node from v2 to v3.

Release notes

Sourced from actions/setup-node's releases.

v3.5.1

Update @actions/core and Print Node, Npm, Yarn versions

In scope of this release we updated actions/core to 1.10.0. Moreover, we added logic to print Nodejs, Npm, Yarn versions after installation.

v3.5.0

Add support for engines.node and Volta

In scope of this release we add support for engines.node. The action will be able to grab the version form package.json#engines.node. #485. Moreover, we added support for Volta

Besides, we updated @actions/core to 1.9.1 and @actions/cache to 3.0.4

v3.4.1

Fix pnpm output and node-version output issues

In scope of this release we fixed bugs related to the pnpm 7.5.1 output issue from pnpm store path #545. Moreover we fixed the issue with falling on node-version output #540.

v3.4.0

Add support for asdf format and update actions/cache version to 3.0.0

In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling. Moreover, we added support for asdf format as Node.js version file #373. Besides, we introduced new output node-version and added npm-shrinkwrap.json to dependency file patterns: #439

v3.3.0

Add support for lts/-n aliases

In scope of this release we added support for lts/-n aliases, improve logic for current, latest and node aliases to handle them from toolcache, update ncc package.

Support of lts/-n aliases

  • Related pull request: #481
  • Related issue: #26
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
  with:
    node-version: lts/-1
- run: npm ci
- run: npm test

Minor improvements

  • Update zeit/ncc to vercel/ncc: #476
  • Get latest version from cache if exists: #496

v3.2.0

Add current, node, latest aliases

In scope of this release we added new aliases to install the latest Node.js version. #483

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
  with:
    node-version: current
- run: npm ci
- run: npm test

v3.1.1

Update actions/cache version to 2.0.2

In scope of this release we updated actions/cache package as the new version contains fixes related to GHES 3.5 (#460)

v3.1.0

Add caching support on GHES 3.5

In scope of this release we added support for caching from GHES 3.5 and fixed download issue for files > 2GB during restore. Besides, we updated actions/cache dependency to 2.0.0 version.

v3.0.0

v3.0.0

In scope of this release we changed version of the runtime Node.js for the setup-node action and updated package-lock.json file to v2.

Breaking Changes

  • With the update to Node 16 in #414, all scripts will now be run with Node 16 rather than Node 12.
    We removed deprecated version input (#424). Please use node-version input instead.

Full Changelog: actions/setup-node@v3.0.0...v3.5.1


@nelsonni nelsonni added feature Feature requests or improvements dependencies Issues or updates to dependency files labels Oct 14, 2022
@nelsonni nelsonni self-assigned this Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issues or updates to dependency files feature Feature requests or improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant