From f978d017301e02248306b369533b52b1041d5bab Mon Sep 17 00:00:00 2001 From: Sudaraka Jayathilaka Date: Thu, 4 Apr 2024 00:54:19 +0800 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9a0524e..5a4dff5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -12,8 +12,9 @@ jobs: with: node-version: 20 registry-url: https://registry.npmjs.org/ + always-auth: true - run: yarn install - name: Publish package on NPM 📦 - run: yarn publish + run: yarn publish --access=public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}