From 220ca6113bc2770c0c99d7269a351a7bcf96a53b Mon Sep 17 00:00:00 2001 From: aulisius Date: Wed, 2 Aug 2023 15:36:26 +0530 Subject: [PATCH] Add token to .npmrc during publish --- .github/workflows/publish-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index abd1befd..2ce5886d 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -8,6 +8,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Setup Registry + run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc - uses: actions/setup-node@v1 with: node-version: 16.x