Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
lamwj98 committed Mar 20, 2024
1 parent c8dc6a2 commit 6f53a06
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ plugins:
- "@semantic-release/changelog"
- "@semantic-release/github"
- "@semantic-release/git"
- "@semantic-release/npm"
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ window.$docsify = {
nameLink: "/docs/slug",
};
```

## Publishing

1. Ensure you're inside the correct organisation
2. Update package.json version if needed
3. Build the artifacts with `npm run build`
4. Publish the artifacts with `npm publish --access public`
5. Complete OTP flow
### GitHub
If semantic release fails during GitHub Actions, please ensure that the **GH_TOKEN** provided is valid and contains the correct permissions. Members of the repo can consider updating the token under secrets of the project if the existing token is lost. The Perosnal Access Token can be created under member's personal setting and a **repo** scope is needed for the release to run.

### NPM
If publishing fails during GitHub Actions, please ensure that the **NPM_TOKEN** provided is valid and contains the correct permissions. Member of the repo (on GitHub and NPM) can consider updating the secrets of the project if the existing token is lost.

0 comments on commit 6f53a06

Please sign in to comment.