GeezerVison is showing github.com — Bump actions/setup-node from 3 to 4 in /actions/publish by dependabot[bot] · Pull Request #76 · increments/qiita-cli
Conversation
Bumps actions/setup-node from 3 to 4.
Release notes
Sourced from actions/setup-node's releases.
v4.0.0
What's Changed
In scope of this release we changed version of node runtime for action from node16 to node20 and updated dependencies in actions/setup-node#866
Besides, release contains such changes as:
New Contributors
Full Changelog: actions/setup-node@v3...v4.0.0
v3.8.2
What's Changed
Full Changelog: actions/setup-node@v3...v3.8.2
v3.8.1
What's Changed
In scope of this release, the filter was removed within the cache-save step by @dmitry-shibanov in actions/setup-node#831. It is filtered and checked in the toolkit/cache library.
Full Changelog: actions/setup-node@v3...v3.8.1
v3.8.0
What's Changed
Bug fixes:
Feature implementations:
Documentation changes:
Update dependencies:
... (truncated)
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
actions/setup-nodeとは?
actions/setup-nodeは、GitHub Actionsという自動化プラットフォームで使用されるアクションの1つ
このアクションは下記の機能を提供している。
公式より引用
- Optionally downloading and caching distribution of the requested Node.js version, and adding it to the PATH
- Optionally caching npm/yarn/pnpm dependencies
- Registering problem matchers for error output
- Configuring authentication for GPR or npm
- リクエストされたNode.jsバージョンのディストリビューションをオプションでダウンロードし、キャッシュに追加し、PATHに追加します。
- npm/yarn/pnpmの依存関係をオプションでキャッシュします。
- エラー出力用の問題マッチャを登録します。
- GPR(GitHub Package Registry)またはnpmの認証を構成します。
GitHub Actionsとは?
GitHubリポジトリ内でカスタムワークフローを定義し、ビルド、テスト、デプロイなどのタスクを自動化するためのツール
|
tomoasleep reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kimkim0814
commented
Nov 15, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
actions/setup-node 3から4の変更点
- nodeのバージョンが16から20に変更になった
- actions/checkout のアップグレード
- actions/checkout のドキュメントの更新
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
- uses: actions/setup-node@v3
|
|
|
- uses: actions/setup-node@v4
|
|
|
with:
|
|
|
node-version: "18.16.0"
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝
actions/setup-node@v4ではデフォルトでnodeのv20が使用されている。
バージョンを指定して、デグレさせた場合不具合が起きる可能性もあるので調査する必要がありそう。
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basic
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm test
Examples:
Major versions: 14, 16, 18
nodeバージョン18はサポートされている。
setup-nodeは指定されたバージョンのNode.jsをインストールするためのアクションだから、
アクションそのもののバージョンが20になってもインストール先としてサポートしていれば良さそう。
ref:https://github.com/actions/setup-node
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
kimkim0814 reacted with thumbs up emoji
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|