Repository navigation
Commit 9de8ff5
authored
fix(ci): add build step before publish + pass NPM_TOKEN as NODE_AUTH_TOKEN (#49)
Two fixes for the release workflow:
1. Add 'pnpm build' step before changesets publish — dist/ must exist
for npm publish (CLI bin was missing: 'No bin file found at dist/index.js')
2. Pass NPM_TOKEN as NODE_AUTH_TOKEN env var to the changesets action —
npm reads NODE_AUTH_TOKEN for registry auth, not NPM_TOKEN1 parent 5e0f7bb commit 9de8ff5
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments