You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
The actions/setup-node action sets authentication information in the environment, if the registry-url option is set. The jsii-publish action defines the auth info in a file. The env definition has precedence over the file and therefore the NPM_TOKEN is never used.
I should probably also use the env approach or unset the env before the publish action. Thanks for letting me know about this.
In the meantime you can just remove the registry-url option. I think it only makes a difference if you want to publish directly via npm publish anyway.
Hi,
Im trying to use your github action to publish to npm without luck:
action log: https://github.com/kamilbiela/cdk-sqs-monitored/runs/593279090?check_suite_focus=true
gh action workflow: https://github.com/kamilbiela/cdk-sqs-monitored/blob/e59b5f740146241eda68abf646c1f5c52d2915d7/.github/workflows/nodejs.yml
Using just npm publish in github action seems to be working, so secret should be ok:
https://github.com/kamilbiela/cdk-sqs-monitored/runs/580649859?check_suite_focus=true
I'm not sure what I'm doing wrong here :/
The text was updated successfully, but these errors were encountered: