diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d08aa1d..65563e0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,9 @@ on: jobs: publish-gpr: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v2 @@ -28,6 +31,6 @@ jobs: pnpm build - name: 🚀️ Publish to NPM - run: pnpm publish --no-git-checks --access public + run: pnpm publish --no-git-checks --access public --provenance env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true diff --git a/package.json b/package.json index 53d4148..a910925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "ssw.megamenu", - "version": "4.13.6", + "version": "4.13.7", + "repository": { + "type": "git", + "url": "https://github.com/SSWConsulting/SSW.MegaMenu" + }, "type": "module", "main": "dist/index.js", "module": "dist/index.js",