From abc49171ebdca5c55e1b99099ebc4f5b9e4d9243 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Wed, 4 Jan 2023 15:08:14 +0400 Subject: [PATCH] Fix publish workflow --- .github/workflows/publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 516e03a..cd1ee50 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,12 +28,12 @@ jobs: id: package-version run: node -p "'version='+require('./package').version" >> $GITHUB_OUTPUT - # - name: Publish - # run: | - # npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - # npm publish --ignore-scripts - # env: - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Publish + run: | + npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} + npm publish --ignore-scripts + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Create Release id: create_release