chore: enable provenance for NPM package

This commit is contained in:
Koen Kanters
2025-03-18 20:54:49 +01:00
parent 17ce9f4c52
commit 1baafbb6cf
+2 -1
View File
@@ -111,9 +111,10 @@ jobs:
- name: 'release: Publish to npm'
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
run: pnpm publish --no-git-checks --provenance --access public
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
- name: 'dev: Trigger zigbee2mqtt/hassio-zigbee2mqtt build'
if: github.ref == 'refs/heads/dev' && github.event_name == 'push'