Update publish.yml

This commit is contained in:
Christian Torbidone 2024-07-19 17:04:24 +02:00 committed by GitHub
parent dd4c45e37b
commit d0c7521b20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,6 +76,6 @@ jobs:
node-version: '20.x' node-version: '20.x'
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
- name: Publish to NPM - name: Publish to NPM
run: npm publish --provenance --access public run: ./gradlew publishToNpm
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}