Repository navigation
Update .github/scripts dependencies - #6847
Merged
Merged
Conversation
Node 20 reached end of life in April 2026. Amp-Thread-ID: https://ampcode.com/threads/T-01a176c6-528a-7430-b296-e66930d153b4
TypeScript 6 deprecates the node10 module resolution that the CommonJS module setting implies. nodenext emits the same CommonJS for this package. Amp-Thread-ID: https://ampcode.com/threads/T-01a176c6-528a-7430-b296-e66930d153b4
ondrejmirtes
force-pushed
the
update-github-scripts
branch
from
October 26, 2026 07:09
dea4dd2 to
65eed71
Compare
ondrejmirtes
force-pushed
the
update-github-scripts
branch
from
October 26, 2026 07:15
65eed71 to
3b4d70e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updates the TypeScript helper that the "Download base SHA PHAR" job compiles (
npx tsc) and runs throughactions/github-script, one commit per step:node10module resolution that"module": "CommonJS"implies, so the config now uses"module": "nodenext", which emits the same CommonJS for this package.string→numbermistake oncontext.repo.owneris reported.Verification: after every step,
dist/find-artifact.jsis byte-identical to the TypeScript 5 output. A local harness that calls it the wayactions/github-scriptdoes, with a real Octokit, finds thephar-file-checksumartifact of the Compile PHAR run for 7d3ede5. The "Download base SHA PHAR" job on this PR runs the same thing in CI.Supersedes the
.github/scriptspart of #3443.