Commit 362aaf7
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 c8008e3 commit 362aaf7
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 | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
0 commit comments