-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' #2933
chore(.github/workflows): change 'node-version' to 'lts/*' in 'actions/setup-node' #2933
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Open in Stackblitz • demo • starter
commit: |
Co-authored-by: Danilo Britto <[email protected]>
@dai-shi all yours |
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.
I was writing those two comments previously, but it's already resolved!
@@ -10,7 +10,7 @@ jobs: | |||
- uses: pnpm/action-setup@v4 | |||
- uses: actions/setup-node@v4 | |||
with: | |||
node-version: 20 | |||
node-version: 22 |
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.
By the way, what happens if we omit this line? Is it required?
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.
Or specify like lts
?
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.
https://github.com/actions/setup-node
The node-version input is optional. If not supplied, the node version from PATH will be used. However, it is recommended to always specify Node.js version and don't rely on the system one.
Yeah, lts/*
seems good.
Can you also send two PRs to jotai and valtio? |
I'll do it all |
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.
a leftover?
Co-authored-by: Daishi Kato <[email protected]>
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.
Thanks for your contribution as always!
Summary
node-version
tolts/*
to always use the latest LTS version of Node.js.Check List
pnpm run prettier
for formatting code and docs