Update publish.yml

This commit is contained in:
Francisco Hodge 2023-02-25 13:39:10 -05:00 committed by GitHub
parent 96b83b9840
commit 98d389080c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ jobs:
- name: Bump version
run: |
export NODE_OPTIONS=--openssl-legacy-provider
git reset --hard
npm version patch
npm run build
@ -52,6 +53,7 @@ jobs:
- name: npm publish
run: |
export NODE_OPTIONS=--openssl-legacy-provider
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm run trypublish
env: