From bd575864deb810499da2bc4e84ac266c6f64cd9e Mon Sep 17 00:00:00 2001 From: Jose Manuel Palomares Date: Mon, 6 May 2024 20:21:23 +0200 Subject: [PATCH] feat: changing npm publish pipeline --- .github/workflows/_npm_publish.yaml | 2 +- .npmrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.github/workflows/_npm_publish.yaml b/.github/workflows/_npm_publish.yaml index 97ff128..8bacf46 100644 --- a/.github/workflows/_npm_publish.yaml +++ b/.github/workflows/_npm_publish.yaml @@ -69,7 +69,7 @@ jobs: - name: Install npm dependencies run: npm i env: - NPM_GITHUB_TOKEN: ${{ secrets.NPM_GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_TOKEN }} - if: inputs.buildBeforePublishing name: Run build run: npm run build diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..31d89c3 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}