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

build: Add provenence flag when publishing jsapi-types #5204

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Feb 28, 2024

- .npmrc file is not getting used with how we publish (building the tarball first and then publishing from a different directory)
- Adding the --provenance flag should generate the provenance statements automatically: https://docs.npmjs.com/generating-provenance-statements#publishing-packages-with-provenance-via-github-actions
- This _should_ work even publishing from the tarball, as the provenance info is generated after the tarball is created: https://github.com/npm/provenance?tab=readme-ov-file#demo-generating-signed-slsa-provenance
Copy link
Member

@devinrsmith devinrsmith left a comment

Choose a reason for hiding this comment

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

Looks harmless enough. I don't know enough to say if this will actually produce the provenance or not. Worst case, this job will fail and we'll need to manually upload it.

@mofojed mofojed merged commit 1c1b4b2 into deephaven:main Mar 6, 2024
23 checks passed
@mofojed mofojed deleted the jsapi-types-provenance branch March 6, 2024 18:31
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants