Commit 91b2058
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 changed1 parent 61aff92 commit 91b2058
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments