We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf54c72 commit a263e92Copy full SHA for a263e92
1 file changed
.github/workflows/publish.yml
@@ -2,7 +2,11 @@ name: Publish
2
3
on:
4
push:
5
- branches: ['main']
+ branches: ["main"]
6
+
7
+permissions:
8
+ id-token: write # Required for OIDC
9
+ contents: read
10
11
jobs:
12
build:
@@ -24,8 +28,8 @@ jobs:
24
28
uses: actions/setup-node@v3
25
29
with:
26
30
node-version: 22
27
- cache: 'pnpm'
- registry-url: 'https://registry.npmjs.org'
31
+ cache: "pnpm"
32
+ registry-url: "https://registry.npmjs.org"
33
34
- name: Install dependencies
35
run: pnpm install
@@ -41,5 +45,3 @@ jobs:
41
45
42
46
- name: Publish Package
43
47
run: npm publish --tolerate-republish --no-fund
44
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
0 commit comments