Skip to content

ci: bump deprecated GitHub Actions to Node 24 versions#3

Merged
nonth merged 1 commit into
mainfrom
chore/bump-node24-actions
May 29, 2026
Merged

ci: bump deprecated GitHub Actions to Node 24 versions#3
nonth merged 1 commit into
mainfrom
chore/bump-node24-actions

Conversation

@nonth
Copy link
Copy Markdown
Collaborator

@nonth nonth commented May 29, 2026

Summary

Bumps the four GitHub Actions still bundled on Node 20 to their latest Node-24-supporting major versions. Resolves the deprecation warning surfaced by every recent run.

GitHub forces the Node 24 default on 2026-06-02. Pinning Node 20 actions past then requires opting in via ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION, which we don't want.

Changes

Action Before After
actions/checkout v4 v6
actions/setup-node v4 v6
actions/setup-java v4 v5
android-actions/setup-android v3 v4

All four use the same input schema we already pass (node-version, distribution/java-version/cache, registry-url, fetch-depth) — fully backward-compatible.

Applied to both .github/workflows/ci.yml and .github/workflows/release.yml.

Secondary goal: end-to-end CI pipeline validation

Changeset included as a patch bump. After merge:

  1. changesets/action@v1 auto-opens a "Version Packages" PR bumping all 4 publishable packages to 0.1.2
  2. Merging that PR triggers release.yml
  3. scripts/publish.sh publishes 0.1.2 via Trusted Publishing OIDC (no NPM_TOKEN needed for auth, only as fallback)
  4. Provenance attestation is generated via Sigstore
  5. Per-package release tags are created — protected by the @inoxth/* tag ruleset, immutable from here on

This validates everything we set up after 0.1.1 actually works.

Verification post-merge

  • npm view @inoxth/react-native-edot-sdk version0.1.2
  • npmjs.com package page shows trusted publisher badge
  • npmjs.com shows provenance attestation link
  • GitHub Releases page lists 4 new releases tagged @inoxth/react-native-edot-{shared,sdk,navigation,tracer-provider}@0.1.2
  • Tags are present locally after git fetch --tags
  • release.yml run is green

Follow-up after this PR + Version PR ship

  • Remove NPM_TOKEN and NODE_AUTH_TOKEN from release.yml env block + delete the GitHub secret (TP makes them unnecessary)

🤖 Generated with Claude Code

Resolves the Node 20 deprecation warning surfaced by every run since
GitHub's 2025-09 announcement. From 2026-06-02 GitHub will force the
Node 24 default on runners; pinning Node 20 actions past then needs an
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION opt-out, which we don't want.

- actions/checkout@v4    → @v6
- actions/setup-node@v4  → @v6
- actions/setup-java@v4  → @v5
- android-actions/setup-android@v3 → @v4

All four major bumps ship the same input schema we use (node-version,
distribution/java-version/cache, registry-url, fetch-depth) and are
backward-compatible with our usage.

Changeset added as patch so this also validates the full CI release
pipeline end-to-end (Trusted Publishing OIDC + provenance attestation
+ tag creation under the new tag-protection ruleset).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nonth nonth merged commit 2962d62 into main May 29, 2026
1 check passed
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