Skip to content

fix(deps): consolidate dependency updates, bump @actions/exec to v3 - #325

Closed
RonaldPhilipsen wants to merge 37 commits into
github:mainfrom
RonaldPhilipsen:consolidated-dependency-updates
Closed

RonaldPhilipsen wants to merge 37 commits into
github:mainfrom
RonaldPhilipsen:consolidated-dependency-updates

Conversation

@RonaldPhilipsen

Copy link
Copy Markdown

Summary

Consolidates all open dependabot dependency updates into a single PR.

Why most dependabot PRs are already in main

The transitive npm updates and the GitHub Actions updates have already landed on main:

  • npm (lockfile): the octokit monorepo major update (Move environment variable backup #37) regenerated package-lock.json, pulling in undici 8.12.3, fast-xml-parser 5.11.2, fast-xml-builder 1.3.1, lodash 4.18.1, browserslist 4.29.5, baseline-browser-mapping 2.11.34, brace-expansion 1.1.21, flatted 3.4.4, handlebars 4.7.10, @babel/core 7.29.7, js-yaml 4.3.2, yaml 2.9.1, and @actions/artifact 6.3.1.
  • GitHub Actions: the workflows are already SHA-pinned to checkout v7, setup-node v7, pnpm/action-setup v6, and codeql v4.39.1 (newer than the requested v4.37.3).

What this PR changes

The only genuinely unapplied update is the @actions/exec v2 → v3 major bump (#267):

  • package.json: @actions/exec ^2.0.0 → ^3.0.0
  • package-lock.json: regenerated (exec 3.0.0, nested @actions/io 3.0.2)

Test fix

@actions/exec v3 ships a nested @actions/io v3 (node_modules/@actions/exec/node_modules/@actions/io) that the ESM mock in cacheUtils.test.ts does not intercept. @actions/io v3 destructures fs.promises at module load, which the fs fixture does not provide, so the suite failed to run:

TypeError: Cannot destructure property 'chmod' of 'fs.promises' as it is undefined.
    at node_modules/@actions/exec/node_modules/@actions/io/src/io-util.ts:5:3

Fix: mock @actions/exec in cacheUtils.test.ts, matching the existing pattern in tar.test.ts and platform.test.ts.

Verification

  • npm test — 30/30 suites, 278 tests passing, 100% coverage thresholds met
  • npm run format:check — passing
  • npm run lint — passing

Closes #267 #268 #278 #283 #287 #297 #301 #302 #305 #308 #309 #312 #313 #314 #318 #321 #323 #324

RonaldPhilipsen and others added 30 commits October 31, 2026 11:08
feat: republish local-action and add node26 support
Updates the fork's .node-version pin to 26 so CI exercises the new
engines range. Triggers the pending v7.1.0 release (engines + republish
already in main via #2).
Adds id-token: write and lets setup-node handle npm auth via the
publishing profile. Removes NPM_PUBLISH_TOKEN (delete the repo secret
after merge).
Adds the fork notice, fixes badge links, and documents Node 26 in the
support matrix.

Also serves as the release trigger for the pending v7.1.0 (engines +
republish landed in #2, the .node-version pin in #4; the original #2
merge run failed before publishing, so its feat impact was consumed).
Fixes the GPR publish (setup-node must be scoped to npm.pkg.github.com
to write its auth) and makes the npm publish step idempotent (skip if
the version already exists on the registry).

Completes the pending v7.1.0 release: 7.1.0 is already on npm (published
during #6's run, which then failed at GPR auth); this run will skip the
npm publish and add the GPR publish + v7.1.0 tag + GitHub release.
docrphil-renovate Bot and others added 7 commits November 1, 2026 09:49
Consolidates all open dependabot dependency updates into a single PR.
The transitive npm updates (undici, fast-xml-parser, fast-xml-builder,
lodash, browserslist, baseline-browser-mapping, brace-expansion, flatted,
handlebars, @babel/core, js-yaml, yaml) and the GitHub Actions updates
(checkout v7, setup-node v7, pnpm/action-setup v6, codeql v4.37.3+) are
already present on main via the octokit monorepo lockfile regeneration
and the SHA-pinned workflows, so the only remaining update is the
@actions/exec v2 -> v3 major bump.

Test fix: @actions/exec v3 ships a nested @actions/io v3 that the ESM
mock does not intercept; io v3 destructures fs.promises at module load,
which the fs fixture does not provide. Mock @actions/exec in
cacheUtils.test.ts, matching the existing pattern in tar.test.ts and
platform.test.ts.
@RonaldPhilipsen
RonaldPhilipsen deleted the consolidated-dependency-updates branch November 1, 2026 10:14
@RonaldPhilipsen

Copy link
Copy Markdown
Author

accidentally created a PR to the upstream repo, apologies for the noise

@RonaldPhilipsen
RonaldPhilipsen restored the consolidated-dependency-updates branch November 1, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant