Repository navigation
ci: Update dependencies - #2119
Merged
Merged
Conversation
actions/checkout v4 -> v7, actions/setup-node v4 -> v7, actions/github-script v7 -> v9, pnpm/action-setup v4 -> v6. The v4 actions still target Node 20, which the runners deprecate with a warning on every job. Amp-Thread-ID: https://ampcode.com/threads/T-01a11326-478d-72cf-bbb7-587d16b378e9 Co-authored-by: Amp <amp@ampcode.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
This comment has been minimized.
This comment has been minimized.
…encies next lists sharp as its own optional dependency, so the devDependency only duplicated it. The type packages and typescript are build-time only. Amp-Thread-ID: https://ampcode.com/threads/T-01a11326-478d-72cf-bbb7-587d16b378e9 Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2
enabled auto-merge (squash)
October 30, 2026 21:52
enriquegh
approved these changes
Oct 30, 2026
This branch was successfully deployed
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.
Every job currently logs
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. This moves every action to its latest major.actions/checkoutincludeIfsupport for the worktree thatcheck-links,check-redirects, andcheck-duplicateseach create);spellcheck-allow.yml'sgit pushstill uses them. v7: refuses to check out a fork head onpull_request_targetandworkflow_run; no workflow here uses either eventactions/setup-nodepackage.jsonhaspackageManager; v6: automatic cache limited to npm.algolia-index.ymlsetscache: pnpmexplicitly, the spelling workflows do not install anything. v7: ESM, new outputsactions/github-scriptrequire('@actions/github')no longer works andgetOctokitis injected;preview-links.ymluses neitherpnpm/action-setupsourcegraph/actions/diff-tour@mainalready tracks main.actionlintpasses. The PR-check workflows run on this PR since theirpathsfilters include their own workflow file, so the checkout and worktree steps are exercised here.Direct dependency trim
npx knip --dependenciesfound one dead dependency:sharp.nextlistssharp ^0.35.4in its ownoptionalDependencies, so the devDependency only duplicated it; the lockfile still resolvessharp@0.35.5, now as an optional dependency ofnext.shikistays: knip flags it, but it is a required peer ofrehype-pretty-code. Its other flags (rehype-*,remark-gfm,unist-util-visit,glob) are knip not readingcontentlayer.config.tsanddev/*.mjs.@types/node,@types/react,@types/react-dom, andtypescriptmove fromdependenciestodevDependencies. Vercel installs both, so what gets installed does not change.Verified locally:
pnpm install,pnpm run build,npx tsc --noEmit,pnpm run lint(8 pre-existing React Compiler warnings, 0 errors).