chore(deps): update dependencies and bump PR validation to Node 22 - #191
Merged
Conversation
Refresh package-lock.json within the existing semver ranges. The update had to be run with --ignore-scripts to work around an upstream packaging bug in @rimac-technology/semantic-release-monorepo (all versions, 1.1.6 through 1.2.10): the package uses pinst to strip its husky postinstall hook at pack time, but npm records the packument metadata before prepack runs. The registry therefore advertises "postinstall": "husky" while the tarball ships "_postinstall", so a fresh install runs husky (not a dependency of the package) and fails with ENOENT. Lockfile-based installs read the on-disk "_postinstall" and correctly no-op, which is why npm ci is unaffected. Also bump pull-request.yml from Node 18 to Node 22, matching deploy.yml. PR validation was two LTS majors behind the deploy and release workflows, and @github/copilot-sdk (a CLI dependency since #190) declares engines.node >= 20, so PR builds were validating against an engine the package no longer supports. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Yohan Lasorsa (sinedied)
requested a review
from Christopher MANEU (cmaneu)
as a code owner
August 25, 2026 14:34
Christopher MANEU (cmaneu)
approved these changes
Sep 2, 2026
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.
Summary
Refreshes
package-lock.jsonwithin the existing semver ranges, and bumps the PR validation workflow from Node 18 to Node 22.Note
This does not fix the failing Release CLI workflow. That failure is unrelated to dependencies — see below.
The
npm updatehusky failurenpm updatefails with:This is an upstream packaging bug affecting every published version (1.1.6 → 1.2.10), not a regression from updating:
postinstallnpm view … scripts)huskypackage.json_postinstall(pinst-disabled)The package uses
pinstto strip its husky hook at pack time, but npm records packument metadata beforeprepackruns. So the registry advertises apostinstallhook the tarball doesn't actually contain, andhuskyisn't a runtime dependency of the package.npm i/npm updateresolve from registry metadata → runhusky→ failnpm ciresolves from the lockfile and reads the on-disk_postinstall→ no-op → CI is unaffectedWorkaround used here:
npm update --ignore-scripts.Node 18 → 22 in
pull-request.ymlPR validation was two LTS majors behind the other workflows (
deploy.ymlis on 22,release-cli.ymlon 24). Since #190, the CLI depends on@github/copilot-sdk, which declaresengines.node >= 20— so PR builds were validating against an engine the dependency no longer supports. Set to 22 to matchdeploy.yml.Verification
Full PR CI sequence run locally against the new lockfile on Node 22.23.2 / npm 10.9.8 (matching the updated workflow):
npm cinpm run create:dbnpm run build:websitenpm run build:clinpm test --if-present --workspacesAlso verified on Node 24 / npm 11.17, and
npx semantic-release-monorepo --dry-runreaches theENONPMTOKENstage (expected locally — CI publishes via OIDC trusted publishing).Separately: the Release CLI workflow
Run #23 installed 1777 packages fine and failed at the git push step:
The
GH_TOKENsecret is a classic PAT expiring 2026-10-29 (~2 months), which enterprise policy rejects. Fixing it requires rotating the secret — options, best first:actions/create-github-app-token(durable, no expiry churn, can be granted branch-protection bypass)Once the token is sorted, the pending
fix(cli):commit from #190 will release as 1.6.1.