We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b2d031 commit 17f5c7eCopy full SHA for 17f5c7e
1 file changed
.github/workflows/npm-publish.yml
@@ -12,12 +12,15 @@ jobs:
12
build:
13
runs-on: ubuntu-latest
14
if: github.event_name == 'workflow_dispatch' || startsWith(github.event.head_commit.message, 'v')
15
+ permissions:
16
+ contents: read
17
+ id-token: write
18
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v2
19
+ - uses: actions/checkout@v3
20
+ - uses: actions/setup-node@v3
21
with:
- node-version: '16.x'
22
+ node-version: '18.x'
23
registry-url: 'https://registry.npmjs.org'
- - run: npm publish --access public
24
+ - run: npm publish --provenance --access public
25
env:
26
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments