File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 68
68
69
69
release :
70
70
runs-on : ubuntu-latest
71
+ permissions :
72
+ contents : read
73
+ id-token : write
71
74
if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
72
75
needs :
73
76
- build
@@ -86,15 +89,15 @@ jobs:
86
89
- uses : actions/setup-node@v3
87
90
with :
88
91
registry-url : ' https://registry.npmjs.org'
89
- - run : npm publish --access public dist/fab-speed-dial/
92
+ - run : npm publish --provenance -- access public dist/fab-speed-dial/
90
93
env :
91
94
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
92
95
93
96
# Publish to GitHub Packages
94
97
- uses : actions/setup-node@v3
95
98
with :
96
99
registry-url : ' https://npm.pkg.github.com'
97
- - run : npm publish --access public dist/fab-speed-dial/
100
+ - run : npm publish --provenance -- access public dist/fab-speed-dial/
98
101
env :
99
102
NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100
103
You can’t perform that action at this time.
0 commit comments