Skip to content

Commit e32d298

Browse files
committed
allow npm trusted publishing
1 parent 77b6fb9 commit e32d298

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches:
77
- master
8+
9+
permissions:
10+
id-token: write
811

912
jobs:
1013
github-action-show-version:
@@ -99,5 +102,5 @@ jobs:
99102
npx nx release --skip-publish
100103
npx nx release publish
101104
env:
102-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
105+
# NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
103106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)