Skip to content
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

Add provenance attestation to npm package #278

Merged
merged 1 commit into from
Apr 6, 2024
Merged

Conversation

jtbandes
Copy link
Member

@jtbandes jtbandes commented Apr 6, 2024

Changelog

None

Description

This is a first attempt to set up provenance attestations for published packages:

The package should appear like this in npm:

@jtbandes jtbandes merged commit 9f8e45f into main Apr 6, 2024
5 checks passed
@jtbandes jtbandes deleted the jacob/provenance branch April 6, 2024 03:29
jtbandes added a commit that referenced this pull request Apr 6, 2024
### Changelog
None

### Description

Follow-up from #278. It appears `yarn npm publish` does not support
`--provenance` (yarnpkg/berry#5430). Per
yarnpkg/berry#5430 (comment)
this can be worked around by using `yarn pack` with `npm publish`.
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.

1 participant