Fix publish workflow

This commit is contained in:
Luis Blanco 2023-01-04 15:08:14 +04:00
parent 6bdcf9abe2
commit abc49171eb
1 changed files with 6 additions and 6 deletions

View File

@ -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