Fix publishing (#392)

This commit is contained in:
Dima 2021-12-28 12:32:16 +03:00 committed by GitHub
parent 082293a4e2
commit 4ded24d7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,10 @@ jobs:
working-directory: ./npm working-directory: ./npm
- name: Publish to NPM as aqua - name: Publish to NPM as aqua
run: npm publish --access public run: |
npm i
npm run build
npm publish --access public
working-directory: ./npm working-directory: ./npm
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}