Skip to content

Conversation

@carlosmondra
Copy link
Member

@carlosmondra carlosmondra commented Jan 5, 2026

This pull request updates the publishing workflow and configuration for the npm packages, focusing on improving security, compatibility, and reliability. The main changes include upgrading the Node.js version, switching to OIDC authentication for publishing, updating the publish scripts, and ensuring both packages are configured for public access.

The problem is that classic tokens were revoked. So I decided to use OIDC for authentication.

Workflow and authentication improvements:

  • Updated the GitHub Actions workflow (.github/workflows/publish.yml) to use OIDC authentication for publishing to npm, replacing the previous token-based method. This enhances security and aligns with best practices.
  • Upgraded the Node.js version used in the workflow from 18.x to 24 for better compatibility and support.

Publishing configuration and scripts:

  • Changed the npm-publish script in package.json to publish both @openreview/client and @openreview/meta-extraction packages individually with provenance and public access flags, improving reliability and transparency of the publishing process.
  • Added publishConfig with "access": "public" to both packages/client/package.json and packages/meta-extraction/package.json to ensure the packages are published as public on npm. [1] [2]

Scoped npm packages require explicit public access configuration
when using newer granular access tokens. This fixes the E404 error
when publishing to npm.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@carlosmondra carlosmondra marked this pull request as draft January 5, 2026 21:30
carlosmondra and others added 4 commits January 5, 2026 15:38
Replace lerna publish with npm publish --workspaces to properly
support OIDC/Trusted Publishers authentication. Each workspace
is published separately with error handling to allow partial
publishes when some versions already exist.

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

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@carlosmondra carlosmondra marked this pull request as ready for review January 5, 2026 22:24
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