-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
ci: Publish packages with provenance #86
Conversation
.github/workflows/release-please.yml
Outdated
@@ -54,7 +54,7 @@ jobs: | |||
#----------------------------------------------------------------------------- | |||
|
|||
- name: Publish @eslint/compat package to npm | |||
run: npm publish -w packages/compat | |||
run: npm publish -w --provenance packages/compat |
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.
run: npm publish -w --provenance packages/compat | |
run: npm publish -w packages/compat --provenance |
I believe that packages/compat
must be after -w
, as its value.
(the same for others)
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.
That's correct. -w
indicates the workspace (directory) to publish from.
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.
done.
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.
LGTM. Will leave for others to review.
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.
LGTM, thanks! Leaving open for @nzakas to verify.
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.
LGTM. Thanks!
Prerequisites checklist
What is the purpose of this pull request?
Publish packages with provenance
What changes did you make? (Give an overview)
Added the --provenance flag to npm publish commands.
Related Issues
#76
Is there anything you'd like reviewers to focus on?