We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f5fb5 commit a8a55a6Copy full SHA for a8a55a6
1 file changed
.github/workflows/release.yml
@@ -7,6 +7,11 @@ on:
7
8
concurrency: ${{ github.workflow }}-${{ github.ref }}
9
10
+permissions:
11
+ contents: write
12
+ pull-requests: write
13
+ id-token: write
14
+
15
jobs:
16
release:
17
name: Release
@@ -43,6 +48,10 @@ jobs:
43
48
uses: actions/setup-node@v4
44
49
with:
45
50
node-version: 20.x
51
+ registry-url: 'https://registry.npmjs.org'
52
53
+ - name: Upgrade npm for trusted publishing (OIDC)
54
+ run: npm i -g npm@11.5.1
46
55
47
56
- name: Install and prepare
57
run: pnpm install --frozen-lockfile --strict-peer-dependencies
@@ -54,4 +63,3 @@ jobs:
63
publish: pnpm run release
64
env:
65
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments