Skip to content

CI: bump GitHub Actions; don't publish for CI-only changes - #33

Merged
planadecu merged 1 commit into
mainfrom
ci/actions-bump
Sep 30, 2026
Merged

planadecu merged 1 commit into
mainfrom
ci/actions-bump

Conversation

@planadecu

Copy link
Copy Markdown
Owner

What changed

  • ci.yml and publish.yml now use actions/checkout@v7, pnpm/action-setup@v6 and actions/setup-node@v7. Supersedes Dependabot chore(deps): bump the actions group with 3 updates #16.
  • publish.yml no longer publishes for changes that don't reach the npm package. Pushes to main that only touch .github/** or CLAUDE.md are ignored. Merging chore(deps): bump the actions group with 3 updates #16 as-is would have published 0.2.17 just for a CI change. This PR touches only .github/, so merging it doesn't publish either.
  • The release job disables setup-node's automatic dependency cache (package-manager-cache: false), following its cache-poisoning guidance.

Breaking changes checked (major release notes)

  • setup-node v7 no longer exports a dummy NODE_AUTH_TOKEN. I checked its source (authutil.ts at v7): it still sets NPM_CONFIG_USERCONFIG and still writes the _authToken=${NODE_AUTH_TOKEN} placeholder, so the step that cleans .npmrc for trusted publishing is still needed and still works.
  • setup-node v5 caches dependencies automatically when packageManager is set. CI already caches pnpm, and the release job now turns it off.
  • checkout v5–v7: runtime updates only.
  • pnpm/action-setup v5–v6: pnpm 11/12 support and fixes. standalone: true and the version pinned in packageManager are still supported.

Verification

  • actionlint finds no problems.
  • CI on this PR runs ci.yml.
  • After merging, no publish run should start. The next package change will exercise publish.yml.

- checkout v7, pnpm/action-setup v6, setup-node v7 (supersedes Dependabot #16).
- publish.yml ignores pushes that only touch .github/** or CLAUDE.md: they
  don't change the npm package, so they shouldn't publish a new version.
- The release job disables setup-node's automatic dependency cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PzJHgXssByMwBXH1PGbXCL
@planadecu
planadecu merged commit c7f3350 into main Sep 30, 2026
5 checks passed
@planadecu
planadecu deleted the ci/actions-bump branch September 30, 2026 19:57
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