Skip to content

Commit cd32076

Browse files
update workflow
1 parent eb8ddd3 commit cd32076

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
needs: build
3535
if: ${{ github.event_name == 'push' }}
3636
runs-on: ubuntu-latest
37+
permissions:
38+
contents: write
39+
pull-requests: write
40+
id-token: write
3741
steps:
3842
- uses: actions/checkout@v6
3943

@@ -46,6 +50,7 @@ jobs:
4650
with:
4751
node-version: 24
4852
cache: "pnpm"
53+
registry-url: https://registry.npmjs.org
4954

5055
- run: pnpm install --frozen-lockfile
5156

@@ -56,4 +61,4 @@ jobs:
5661
publish: pnpm release
5762
env:
5863
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
64+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)