diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97cdaec32..a27d6f699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'