-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
This whole document is ordered as per occurence of events by time.
1. Context
- Commit/Merge on
mainbranch - Run
npm version patchornpm version minorcommand locally (this updates package.json, and creates another commit) - Push the changes to
mainbranch from local machine - Open GitHub and create a Release and a new tag (eg. v0.3.0 or v0.2.1), and publish it
2. Automation (problematic)
- Make sure on GitHub you have a variable
NODE_AUTH_TOKEN - on L17 of
release.ymlfile it should automatically create a.npmrcfile - Publishing the release will trigger the
release.ymlgithub action workflow which will automatically publish to npm registry
3. Output (remote)
This is the output of the publish action triggered on release
4. Manual publish (running fine)
- Make sure that locally you have
~/.npmrcfile//registry.npmjs.org/:_authToken=<auth-token>
- Replace with the auth token of the npm package owner
- Run
npm publishcommand locally to publish the pacakge to npm registry manually
5. Output (local)
This is the output of running npm publish command locally

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed