There was an error while loading. Please reload this page.
1 parent 88f2e65 commit 9a14373Copy full SHA for 9a14373
1 file changed
.github/workflows/publish.yml
@@ -11,7 +11,6 @@ jobs:
11
publish-npm:
12
name: Publish to npmjs.com
13
runs-on: ubuntu-latest
14
- if: github.event_name == 'release'
15
permissions:
16
contents: read
17
id-token: write
@@ -24,13 +23,13 @@ jobs:
24
23
- run: npm ci
25
- run: npm run build
26
- run: npm publish --provenance --access public
+ if: github.event_name == 'release'
27
env:
28
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
30
publish-github:
31
name: Publish to GitHub Packages
32
33
34
35
36
packages: write
@@ -43,6 +42,7 @@ jobs:
43
42
44
45
- run: npm publish
46
47
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48
0 commit comments