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 094719f commit ca7b953Copy full SHA for ca7b953
.github/workflows/npm-publish.yml
@@ -8,14 +8,18 @@ on:
8
jobs:
9
build:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
steps:
15
- uses: actions/checkout@v4
16
- uses: actions/setup-node@v4
17
with:
18
node-version: 20
19
registry-url: "https://registry.npmjs.org"
20
+ cache: npm
21
- run: npm install
22
- run: npm run build
- - run: npm publish --access public
23
+ - run: npm publish --provenance --access public
24
env:
25
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments