From 1542eabd4fc72c0da26e396f36a26c4f340c292c Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Sat, 31 Aug 2024 21:16:44 -0400 Subject: [PATCH] Take two on publishing from CI. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec2f152..42d7920 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,7 @@ jobs: with: node-version: ${{ matrix.node }} cache: "pnpm" + registry-url: https://registry.npmjs.org/ - name: Install dependencies run: pnpm install --frozen-lockfile @@ -45,5 +46,5 @@ jobs: - name: Publish to npm if needed if: github.ref == 'refs/heads/main' && matrix.node == '22' env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: pnpm publish -r --no-git-checks