From a6966e31489a0008e083ff9dcca1a3b59e9b9275 Mon Sep 17 00:00:00 2001 From: Thomas Boop <52323235+thboop@users.noreply.github.com> Date: Tue, 6 Apr 2021 14:41:33 -0400 Subject: [PATCH] fix deploy pipeline (#763) --- .github/workflows/releases.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 154df26e..f4b6464e 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -50,12 +50,15 @@ jobs: uses: actions/download-artifact@v2 with: name: ${{ github.event.inputs.package }} - - - name: publish - run: npm publish *.tgz + + - name: setup authentication + run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc env: NPM_TOKEN: ${{ secrets.TOKEN }} - + + - name: publish + run: npm publish *.tgz + - name: notify slack on failure if: failure() run: |