Skip to content

ci: fix Node 20 + app-id deprecation warnings, refresh Node matrix#803

Merged
BYK merged 1 commit intomasterfrom
ci/fix-node20-deprecation-warnings
Apr 21, 2026
Merged

ci: fix Node 20 + app-id deprecation warnings, refresh Node matrix#803
BYK merged 1 commit intomasterfrom
ci/fix-node20-deprecation-warnings

Conversation

@BYK
Copy link
Copy Markdown
Member

@BYK BYK commented Apr 21, 2026

Summary

Fixes deprecation warnings surfaced in run 24743422957:

  • Node.js 20 actions are deprecatedpnpm/action-setup@v4.3.0 runs on Node 20. Bumped to v4.4.0 which declares using: node24 in its action.yml. Node 20 actions will be forced to Node 24 by 2026-06-02 and removed entirely by 2026-09-16.
  • Input 'app-id' has been deprecatedactions/create-github-app-token@v3 v3.1.0+ deprecates app-id in favour of client-id. The SENTRY_RELEASE_BOT_CLIENT_ID variable already holds a client ID, so only the input name changes.

Also drops Node 20 from the build matrix (EOL 2026-04-30) and adds Node 24 for forward-compat coverage.

Changes

File Change
.github/workflows/build.yml Matrix ['20','22']['22','24']; bump pnpm/action-setup pin (×3) to v4.4.0
.github/workflows/lint.yml Bump pnpm/action-setup pin to v4.4.0
.github/workflows/docs-preview.yml Bump pnpm/action-setup pin to v4.4.0
.github/workflows/release.yml app-id:client-id: on create-github-app-token@v3

Notes

  • pnpm/action-setup is third-party → SHA-pinned with trailing # v4.4.0 comment, per the repo's pinning convention. SHA resolved via git ls-remote … refs/tags/v4.4.0^{}.
  • actions/create-github-app-token is GitHub-owned → stays on the @v3 major tag (not SHA-pinned). v3 major already resolves past v3.1.0 which supports client-id.
  • No source/test changes — CI only.

Verification

  • build.yml will run 2 matrix jobs (Node 22, Node 24) on push/PR — no more Node 20 warning.
  • release.yml workflow_dispatch should no longer emit the app-id deprecation warning.

- Bump pnpm/action-setup from v4.3.0 (Node 20, deprecated) to v4.4.0
  (Node 24) across build.yml, lint.yml, docs-preview.yml. SHA pin
  preserved per third-party action convention.
- Rename 'app-id' to 'client-id' on actions/create-github-app-token@v3
  step in release.yml; v3.1.0+ deprecates app-id. Value unchanged —
  SENTRY_RELEASE_BOT_CLIENT_ID is already a client ID.
- Drop Node 20 from the build matrix, add Node 24.

Warnings observed in run 24743422957.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-21 20:19 UTC

@BYK BYK merged commit 0f9f920 into master Apr 21, 2026
19 checks passed
@BYK BYK deleted the ci/fix-node20-deprecation-warnings branch April 21, 2026 20:18
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