Skip to content

Commit 91b2058

Browse files
authored
ci: attach release job to npm-publish environment (#18)
## Summary - npm Trusted Publisher for `@nebula-agents/electron-mcp` is configured with **Environment name: `npm-publish`**, but the release job had no `environment:` key. The OIDC token therefore lacked the environment claim and `pnpm changeset publish` was rejected with E404 (run [25026312815](https://github.com/agent-labs-dev/electron-mcp/actions/runs/25026312815)). - Adds `environment: npm-publish` to the `release` job so the OIDC claims match what npm expects. - Requires the `npm-publish` GitHub Actions environment to exist in repo settings (Settings → Environments). Once created, the next push to `main` (or rerun of the failing workflow) should publish 0.1.0. ## Verification - [ ] `pnpm check` - [ ] `pnpm test:electron` if Electron/CDP behavior changed
1 parent 61aff92 commit 91b2058

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
99
jobs:
1010
release:
1111
runs-on: ubuntu-latest
12+
environment: npm-publish
1213
permissions:
1314
contents: write
1415
pull-requests: write

0 commit comments

Comments
 (0)