-
Notifications
You must be signed in to change notification settings - Fork 37
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
Added GPR publishing #1209
Added GPR publishing #1209
Conversation
|
||
# Publish SAF CLI to GitHub Package Registry | ||
- name: Publish SAF CLI to GPR | ||
run: npm publish mitre-saf-v*.tgz |
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.
"When publishing scoped packages, the access level defaults to restricted. If you want your scoped package to be publicly viewable (and installable) set --access=public." - https://docs.npmjs.com/cli/v8/commands/npm-publish#access
idk why we need --access public
for the npm one since it doesn't have that scope input, but shouldn't this publish call have it then?
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.
Implemented recommendations
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.
Awaiting your input on your first ask.
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.
switched lines - 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.
See my comments.
Signed-off-by: George Dias <[email protected]>
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.
made request changes
Kudos, SonarCloud Quality Gate passed! |
Change workflow name to include action (from push-to-npm.yml to push-to-npm-gpr.yml)
Add the publishing to GitHub Package Registry (GPR)