-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
node20 support #99
Comments
Wouldn't that only affect the |
Hi @zkochan
Sorry if the request was unclear. Yes, this is only about creating a new release of Users of The actions from GitHub which migrated from |
I am not sure why do they mark this as breaking if only the action's own runtime changes. The projects using the action will not run on a different node.js version. |
According to the announcement GitHub Actions: Transitioning from Node 16 to Node 20 deprecation notices are supposed to start being displayed today. |
It is not so easy to do because this action uses a deprecated tool that doesn't work on node.js 20. So, we might have to do a big rewrite. |
Thanks for your update and I'm sorry that this could be a time-consuming task for you. I guess it will be about 6 months until GitHub finally blocks |
GitHub is now producing the expected deprecation warning, for instance:
This also impacts |
This comment was marked as outdated.
This comment was marked as outdated.
Your error message shows that you are using pnpm/[email protected] from Feb 2022. If you specify |
Ah, you are very right. Once I changed the version of the action I don't see the warning anymore. thanks you for your help! |
If this issue is not able to be resolved soon, then I would convert from using Edit: I now converted to not use the action |
Managed a little proof of concept update to |
Possible workaround for you?I figured out that I didn't need It seems there are little/no drawbacks of using this approach. See comment by zkochan. This just works: - run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install Full workflow for reference: https://raw.githubusercontent.com/PatrikBird/website/main/.github/workflows/analyze_bundle.yaml Maybe that's helpful to anyone. Have a nice day 🌞 |
🚢 v3.0.0 |
Thank you for resolving this issue! 👍🏻 I see updated through |
Please provide a new release of pnpm/action-setup which runs under
node20
as Node.js16
reached end-of-life on Sep 11, 2023.action-setup/action.yml
Lines 22 to 25 in 0b715c7
See the announcement GitHub Actions: Transitioning from Node 16 to Node 20.
Edit: Removed the request for a certain release number.
The text was updated successfully, but these errors were encountered: