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

Make platform specific node packages pass provenance #200

Open
kevaundray opened this issue Aug 14, 2024 · 1 comment
Open

Make platform specific node packages pass provenance #200

kevaundray opened this issue Aug 14, 2024 · 1 comment

Comments

@kevaundray
Copy link
Contributor

No description provided.

@kevaundray
Copy link
Contributor Author

In the code, we disable provenance and set it to be true before publishing the main package:

          if [ "$SHOULD_PUBLISH" = true ]; then
            # Prepare and publish the platform specific packages
            yarn prepareAndPublishAddons
            # Publish the base package, setting provenance
            # to true as it's recommended. The platform specific packages
            # don't need to have it, but we could edit them to pass provenance.
            npm config set provenance true
            npm publish --access public
          fi

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

No branches or pull requests

1 participant