Skip to content

Commit 2894b5e

Browse files
committed
fix publish workflow
1 parent dba88f0 commit 2894b5e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish_to_npm.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ jobs:
1010
name: Publish to npm
1111
runs-on: ubuntu-latest
1212

13+
permissions:
14+
id-token: write # Required for OIDC
15+
contents: read
16+
17+
1318
steps:
1419
- name: Checkout code
1520
uses: actions/checkout@v3
@@ -29,6 +34,4 @@ jobs:
2934

3035
- name: Publish to npm
3136
working-directory: ./dist/angular-mydatepicker
32-
env:
33-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3437
run: npm publish --access public

0 commit comments

Comments
 (0)