Skip to content

Bump CI actions to v5 and add an npm badge - #12

Merged
rahmanow merged 1 commit into
masterfrom
claude/repo-setup-features-sv89xo
Aug 28, 2026
Merged

Bump CI actions to v5 and add an npm badge#12
rahmanow merged 1 commit into
masterfrom
claude/repo-setup-features-sv89xo

Conversation

@rahmanow

Copy link
Copy Markdown
Owner

Two small follow-ups from #11.

CI actions to v5

actions/checkout and actions/setup-node move from @v4 to @v5, in both jobs. GitHub currently prints this on every run:

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, actions/setup-node@v4

That warning goes away, and ci.yml now matches release.yml, which #11 introduced on v5 — so the deliberate inconsistency I flagged there is resolved. Both workflows pin the same majors:

3  uses: actions/checkout@v5
3  uses: actions/setup-node@v5

npm badge

The README gains a version badge next to the CI one, now that the package is live:

[[npm](https://img.shields.io/npm/v/shadowtools.svg)](https://www.npmjs.com/package/shadowtools)

One caveat worth stating plainly: I could not render-test the badge. img.shields.io is blocked by this environment's network policy, so the request fails outright from here. What I did verify is the data behind it — registry.npmjs.org/shadowtools returns 4.0.0 as latest — and the URL follows shields.io's standard npm/v/<package> form. If it renders blank, that is where to look.

Testing

Both workflows parse, 62 tests pass, and the action versions are consistent across the two files. The real check on the @v5 bump is this PR's own CI run, since it exercises the bumped actions directly — worth confirming the deprecation warning is gone from the log.


Generated by Claude Code

actions/checkout and actions/setup-node move from v4 to v5, clearing the
warning GitHub prints on every run because v4 targets the deprecated Node
20 runtime. This also matches release.yml, so both workflows now pin the
same majors.

The README gains an npm version badge, now that the package is published.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QJR2DDBimsijgYgZS3bUS8
@rahmanow
rahmanow merged commit b5bdd75 into master Aug 28, 2026
4 checks passed
@rahmanow rahmanow mentioned this pull request Aug 28, 2026
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.

2 participants