From 5b742c478c49ab6852c16ef8c65cadea5e6e2191 Mon Sep 17 00:00:00 2001 From: icsaba Date: Wed, 25 Sep 2024 20:55:00 +0200 Subject: [PATCH] fix: using npm auth token --- .github/workflows/release-please.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 82f9dde..9888a9f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -63,6 +63,8 @@ jobs: with: node-version: '22' # Specify Node.js version cache: 'yarn' # Use Yarn and cache dependencies + registry-url: 'https://registry.npmjs.org' + always-auth: true # Step 3: Install dependencies with Yarn - name: Install dependencies @@ -72,5 +74,5 @@ jobs: - name: Publish to npm run: yarn publish --non-interactive --access public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}