From ae9fd3e8ba99c3bb9b97ee8dcb246ca50bafbbae Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Sun, 21 Mar 2021 18:23:26 +0300 Subject: [PATCH] Automate NPM publish --- .github/workflows/publish.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 407ab50..e0007df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,8 +28,7 @@ jobs: - name: Publish run: | npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - echo npm publish --ignore-scripts - echo v${{ steps.package-version.outputs.current-version}} + npm publish --ignore-scripts env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: GitHub Release