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

GitHub Actions: Transitioning from Node 16 to Node 20 #27

Closed
nemuvski opened this issue Jan 31, 2024 · 1 comment · Fixed by #28
Closed

GitHub Actions: Transitioning from Node 16 to Node 20 #27

nemuvski opened this issue Jan 31, 2024 · 1 comment · Fixed by #28
Assignees

Comments

@nemuvski
Copy link
Owner

nemuvski commented Jan 31, 2024

Node.js 16 actions are deprecated.
Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3.
For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
@nemuvski nemuvski self-assigned this Jan 31, 2024
@nemuvski
Copy link
Owner Author

nemuvski commented Jan 31, 2024

pnpm/action-setup@v2 に関しては corepack 利用する形にする。

- run: corepack enable
- uses: actions/setup-node@v4
  with:
    node-version: 20
    cache: "pnpm"

- name: Install dependencies
  run: pnpm install

ref: pnpm/action-setup#99 (comment)

@nemuvski nemuvski changed the title 対応: GitHub Actions: Transitioning from Node 16 to Node 20 GitHub Actions: Transitioning from Node 16 to Node 20 Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant