Commit b0500ed
authored
ci(publish): use tool versions for Node release runtime (#199)
Configure the JavaScript publish workflow to read Node from
.tool-versions and add the same Node, npm, and pnpm tool versions used
by the working braintrust-sdk-javascript publish flow.
The previous rerun cleared npm token environment variables correctly,
but the GitHub runner's Node 22 image used npm 10.9.8 and failed trusted
publishing with ENEEDAUTH. Moving the publish workflow to Node 24 gives
it npm 11 support for GitHub OIDC trusted publishing without a one-off
npm install step.1 parent 8eb18c2 commit b0500ed
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments