We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cabb8c commit ba554b3Copy full SHA for ba554b3
1 file changed
.github/workflows/publish.yaml
@@ -1,9 +1,13 @@
1
name: Publish Package to npmjs
2
on:
3
push:
4
- branches:
+ branches:
5
- 'master'
6
7
+permissions:
8
+ id-token: write # Required for OIDC
9
+ contents: read
10
+
11
jobs:
12
build:
13
runs-on: ubuntu-latest
@@ -16,7 +20,4 @@ jobs:
16
20
registry-url: 'https://registry.npmjs.org'
17
21
18
22
- run: yarn && yarn build
19
-
- - uses: JS-DevTools/npm-publish@v1
- with:
- token: ${{ secrets.NPM_TOKEN }}
23
+ - run: npm publish
0 commit comments