Skip to content

Conversation

@jkebinger
Copy link
Contributor

Summary

  • Updates yarn from 4.9.2 to 4.11.0 in release workflow
  • Removes --provenance flag from publish commands (now handled by .yarnrc.yml)
  • Removes npmAuthToken from .yarnrc.yml (using OIDC instead)
  • Keeps npmPublishProvenance: true in .yarnrc.yml for automatic provenance generation

Context

Yarn 4.11.0 is required for proper npm trusted publisher support with OIDC authentication. With npmPublishProvenance: true set in .yarnrc.yml, provenance is automatically enabled and the --provenance CLI flag is redundant.

The workflow will now authenticate using GitHub's OIDC token (via id-token: write permission) and automatically generate provenance attestations through the yarn configuration.

🤖 Generated with Claude Code

- Update yarn from 4.9.2 to 4.11.0 (required for npm trusted publisher)
- Remove --provenance flag from publish commands (handled by .yarnrc.yml)
- Remove npmAuthToken from .yarnrc.yml (using OIDC instead)
- Keep npmPublishProvenance: true in .yarnrc.yml for automatic provenance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@jdwyah jdwyah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@jkebinger jkebinger enabled auto-merge (squash) November 20, 2025 22:59
@jkebinger jkebinger merged commit a62c037 into main Nov 20, 2025
2 checks passed
@jkebinger jkebinger deleted the yarn-4.11.0 branch November 20, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants