-
-
Notifications
You must be signed in to change notification settings - Fork 165
node20 upgrade #110
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 upgrade #110
Conversation
|
Saw workflow failures for 8e68382 (9 of 27 errored). Modified to match previous behaviour of the parsing/validation method. Now doing |
|
some tests fail |
KSXGitHub
left a comment
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.
Validating user data manually is error-prone. I suggest using zod instead.
|
You have yet to explain why you would replace |
KSXGitHub
left a comment
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.
|
🚢 v3.0.0 |
|
Thanks for fixing my PR and merging. I can try and respond to the questions for traceability / posterity.
I think I originally switched while trying to figure out what was broken from the 16 -> 20 upgrade. I am more familiar with
As mentioned in the PR description I updated the tsconfig based off @tsconfig/node20. IIRC these changes were required to get it building and running properly. |
|
Thanks for getting this updated and released! We don't have anything complicated in our setup, but just wanted to provide at least one data point that v3 working as expected in our app. |
|
Great works guys, works like a charm! Thank you! |
This is proof-of-concept work for updating this action to node20. This is in reference to #99.
I don't think this is ready to ship, although it does resolve some problems as mentioned in #99 and seen in #102.
Changes
pnpm upgrade -L@ts-schema-autogen/cliand replaced therun_installinput validation with codified checks insteadyamlinstead ofjs-yamlto parse therun_installinputpnpm.cjs(andworker.js) from thepnpmrelease and removed existingpnpm.jsfiledistdirectorypnpm.jsTesting
I've performed some testing, only some minimal stuff. Realistically, I haven't changed much in terms of source code. All my usages of this setup are rather simple with respect to the
run_installinput so I'm not the best person to test this.run.shwith minor modifications to account for my node version shimmingrun.sh contents
Workflow file
Output
Test 1:
Test 2: