We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0dd4ea commit 60cb1c6Copy full SHA for 60cb1c6
1 file changed
.github/workflows/release.yml
@@ -1,5 +1,3 @@
1
-name: Release (main)
2
-
3
on:
4
push:
5
branches:
@@ -11,6 +9,7 @@ jobs:
11
9
permissions:
12
10
contents: read
13
id-token: write # CRITICAL: This enables OIDC authentication
+ packages: write
14
15
steps:
16
- name: Checkout
@@ -39,6 +38,7 @@ jobs:
39
38
run: npm run build
40
41
- name: Publish to npm
42
- # OIDC handles authentication automatically now.
43
working-directory: dist/ngbootstrap
44
- run: npm publish --provenance --access public # publish the built package only
+ env:
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+ run: npm publish --provenance --access public
0 commit comments