Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false
"successCommentCondition": false,
"failCommentCondition": false
}
]
]
Expand Down
7 changes: 7 additions & 0 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ the required `validate` check before the release workflow runs.

Release automation expects npm trusted publishing to be configured for this repo
so GitHub Actions can publish without a long-lived npm token.
Do not set `NPM_TOKEN` for the release workflow. Trusted publishing should use
GitHub OIDC only.

Why:

Expand Down Expand Up @@ -47,6 +49,11 @@ Why:
- pushes the matching `v<version>` tag
- creates the GitHub release notes

This repo intentionally does not use a separate tag-triggered `npm publish`
workflow. `semantic-release` is the component that decides the version,
publishes from the merged commit, and then creates the matching tag and GitHub
release.

Never publish or tag from an unmerged local-only commit. The published package,
the release tag, and the GitHub release should all come from the same merged
commit on the release branch.
Expand Down
Loading
Loading