Skip to content

Commit 61f4cad

Browse files
fix(ci): align npm auth tokens in release workflow
Set NODE_AUTH_TOKEN from the same NPM_TOKEN secret at job and step scope so changesets publish uses consistent npm authentication in GitHub Actions. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5785680 commit 61f4cad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permissions:
1212
jobs:
1313
release:
1414
runs-on: ubuntu-latest
15+
env:
16+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1517

1618
steps:
1719
- name: Checkout
@@ -42,3 +44,4 @@ jobs:
4244
env:
4345
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4446
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
47+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)