From 560e2dcbeecdd57d63de6906e388b8096fe293b9 Mon Sep 17 00:00:00 2001 From: Bryan Kizer Date: Sun, 21 Dec 2025 16:48:32 -0500 Subject: [PATCH] ci: add npmrc step --- .github/workflows/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8aa7b13..aeab3d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,6 +49,14 @@ jobs: - name: Build Packages run: pnpm run build + - name: Alter npmrc + run: | + cat << EOF > "$HOME/.npmrc" + //registry.npmjs.org/:_authToken=$NPM_TOKEN + EOF + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release PR or Publish uses: changesets/action@v1 with: @@ -59,3 +67,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}