diff --git a/.github/workflows/release-insiders.yml b/.github/workflows/release-insiders.yml index 1cd7f668a..95e1a31dd 100644 --- a/.github/workflows/release-insiders.yml +++ b/.github/workflows/release-insiders.yml @@ -6,6 +6,7 @@ on: permissions: contents: read + id-token: write env: CI: true @@ -54,16 +55,16 @@ jobs: run: npm version 0.0.0-insiders.${{ env.SHA_SHORT }} --force --no-git-tag-version --prefix vue - name: Publish `heroicons` - run: npm publish --tag insiders + run: npm publish --provenance --tag insiders env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@heroicons/react` - run: npm publish ./react --tag insiders + run: npm publish ./react --provenance --tag insiders env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@heroicons/vue` - run: npm publish ./vue --tag insiders + run: npm publish ./vue --provenance --tag insiders env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3dc997e56..c32181979 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,7 @@ on: permissions: contents: read + id-token: write env: CI: true @@ -45,16 +46,16 @@ jobs: echo "RELEASE_CHANNEL=$(npm run release-channel --silent)" >> $GITHUB_ENV - name: Publish `heroicons` - run: npm publish --tag ${{ env.RELEASE_CHANNEL }} + run: npm publish --provenance --tag ${{ env.RELEASE_CHANNEL }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@heroicons/react` - run: npm publish ./react --tag ${{ env.RELEASE_CHANNEL }} + run: npm publish ./react --provenance --tag ${{ env.RELEASE_CHANNEL }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish `@heroicons/vue` - run: npm publish ./vue --tag ${{ env.RELEASE_CHANNEL }} + run: npm publish ./vue --provenance --tag ${{ env.RELEASE_CHANNEL }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index cd5a17b96..4f52c87e2 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "heroicons", "version": "2.1.1", "license": "MIT", + "repository": "https://github.com/tailwindlabs/heroicons.git", "files": [ "16/", "20/",