Commit d5c9a2a
committed
fix(ci): configure pnpm npm registry auth before publish
pnpm 11's native publish no longer inherits auth from the NPM_TOKEN env var
the way pnpm 10's npm-CLI-shelling publish did, and pnpm 10.34.2+/11.5.3+
also stopped expanding ${VAR} placeholders from a repo's .npmrc
(GHSA-3qhv-2rgh-x77r). Explicitly run `pnpm config set` before the
changesets/action publish step, matching the pattern already used in
.github/actions/changeset-snapshot/action.yml.1 parent d8fa2e1 commit d5c9a2a
2 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
75 | 84 | | |
76 | 85 | | |
77 | 86 | | |
| |||
0 commit comments