-
<
8000
a href="/login?return_to=%2Fvercel%2Fsatori" rel="nofollow" id="repository-details-watch-button" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","originating_url":"https://github.com/vercel/satori/pull/672","user_id":null}}" data-hydro-click-hmac="93ef821ec7ee6d7aeb7cb892af45b09046bed966fb5c7bce762087105a14474a" aria-label="You must be signed in to change notification settings" data-view-component="true" class="btn-sm btn"> Notifications
You must be signed in to change notification settings - Fork 273
fix(ci): publish to npm with provenance #672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables the publication of npm packages with provenance information by updating configuration files.
- Enables provenance in npm by adding "provenance=true" in .npmrc
- Updates the GitHub CI workflow with additional permissions, changes the node condition to use Node 20 for the release step, adds the NPM_CONFIG_PROVENANCE env variable, and upgrades semantic-release
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
.npmrc | Adds the "provenance=true" setting to enable npm provenance |
.github/workflows/ci.yml | Updates permissions, adjusts node condition for release, and upgrades semantic-release with provenance configuration support |
🎉 This PR is included in version 0.13.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Related to #66 (comment)
See npm docs https://docs.npmjs.com/generating-provenance-statements
See semantic-release docs https://github.com/semantic-release/npm/blob/master/README.md#npm-provenance