ci: fix evaluation ts publish with Node.js 22 - #2759
Merged
Conversation
Use a runtime supported by both npm trusted publishing and the package's AVA dependency. Co-authored-by: Cursor <cursoragent@cursor.com>
Allow testing another ref without granting the dry-run job an npm OIDC publishing token. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Updates the TypeScript evaluation package publishing workflow to use Node.js 22 and to better separate dry-run verification from real npm OIDC publishing, with accompanying documentation updates for testing other refs.
Changes:
- Switch publishing workflow to Node.js 22 (npm/AVA compatibility).
- Add
checkout_refinput and a dedicateddry-runjob to verify a branch/tag/SHA without npm OIDC permissions. - Document how to dry-run another ref in the evaluation TypeScript README.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| evaluation/typescript/README.md | Documents using checkout_ref + dry_run (run from main) to verify other refs. |
| .github/workflows/publish-evaluation-ts.yaml | Moves to Node 22, adds checkout_ref, splits dry-run vs publish to isolate OIDC permissions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Allow the tokenless dry-run job to execute outside main while keeping real npm publishing restricted to main. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep one publishing job and allow non-main execution only when the dry-run input is enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
cre8ivejp
marked this pull request as ready for review
August 7, 2026 03:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dry_runis enabledTest plan
mainwithdry_runenabled and a branch incheckout_ref@bucketeer/evaluation@0.0.9