There was an error while loading. Please reload this page.
1 parent dcf7690 commit c4a7ae0Copy full SHA for c4a7ae0
1 file changed
.github/workflows/publish.yml
@@ -15,6 +15,10 @@ jobs:
15
name: npm
16
url: https://npm.im/html-minifier-terser
17
18
+ permissions:
19
+ contents: read
20
+ id-token: write
21
+
22
steps:
23
- name: Checkout
24
uses: actions/checkout@v3
@@ -38,6 +42,6 @@ jobs:
38
42
- name: Run Tests
39
43
run: npm run test
40
44
41
- - run: npm publish
45
+ - run: npm publish --provenance
46
env:
47
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments