Skip to content

Commit bdc0256

Browse files
committed
ci: move to trusted publishing
1 parent 53167f9 commit bdc0256

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-beta.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
types:
88
- completed
99

10+
permissions:
11+
id-token: write # Required for OIDC
12+
contents: read
13+
1014
jobs:
1115
publish:
1216
runs-on: ubuntu-latest
@@ -20,8 +24,4 @@ jobs:
2024
- run: npm ci
2125
- run: npm run build
2226
- run: npm version prerelease --no-git-tag-version --preid ${{ github.ref_name }}-${{ github.sha }}
23-
- uses: JS-DevTools/npm-publish@v4
24-
with:
25-
access: public
26-
token: ${{ secrets.NPM_TOKEN }}
27-
tag: beta
27+
- run: npm publish

0 commit comments

Comments
 (0)