Skip to content

Commit 42df942

Browse files
mfranzkeCopilot
andauthored
docs: Rework npm Publish sections regarding NPM_TOKEN (#108)
* docs: Enhance npm Publish section in WORKFLOWS.md Updated npm Publish description to include Trusted Publishing. * Revise required secrets for GitHub release process Updated the required secrets section for GitHub repository configuration, removing the NPM_TOKEN mention and clarifying the connection to npmjs.com. * Update .github/WORKFLOWS.md Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
1 parent 5318472 commit 42df942

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/WORKFLOWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ _Note: Linting has been moved to default.yml to avoid duplication_
8585

8686
- **Test**: Full test suite before release
8787
- **GitHub Release**: Creates GitHub release with changelog
88-
- **npm Publish**: Publishes to npm registry (requires `NPM_TOKEN` secret)
88+
- **npm Publish**: Publishes to npm registry using [Trusted Publishing](https://docs.npmjs.com/trusted-publishers) for secure authentication between GitHub and npmjs.com
8989

9090
### 5. **Code Quality** (`.github/workflows/quality.yml`)
9191

docs/RELEASE_PROCESS.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ The changeset configuration is in `.changeset/config.json`:
118118

119119
## Required Secrets
120120

121-
Make sure these secrets are configured in your GitHub repository:
122-
123-
- `NPM_TOKEN`: Your npm authentication token for publishing
121+
None. The connection in between GitHub pipeline and npmjs.com is done via [Trusted Publishing](https://docs.npmjs.com/trusted-publishers).
124122

125123
## Benefits over manual tagging
126124

@@ -140,7 +138,6 @@ Make sure these secrets are configured in your GitHub repository:
140138
141139
### Publishing fails
142140
143-
- Verify `NPM_TOKEN` secret is set correctly
144141
- Check that package name is available on npm
145142
- Ensure version doesn't already exist
146143

0 commit comments

Comments
 (0)