From 8c7d17e60219de7e5b41b1e684229d7b5e562bbe Mon Sep 17 00:00:00 2001 From: Janitha Tennakoon Date: Fri, 22 Dec 2023 10:46:00 +0530 Subject: [PATCH] Add public to npm publish Add public package permission to npm publish --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index c56144f..46323f8 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,6 +14,6 @@ jobs: registry-url: "https://registry.npmjs.org" - run: npm install - run: npm ci - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}