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 535a68e commit b5a4dedCopy full SHA for b5a4ded
.github/workflows/provenance.yml
@@ -0,0 +1,26 @@
1
+name: Publish Package to npmjs
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ permissions:
12
+ contents: read
13
+ id-token: write
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - uses: actions/setup-node@v3
18
+ with:
19
+ node-version: '18'
20
+ registry-url: 'https://registry.npmjs.org'
21
+ cache: npm
22
+ - run: npm install -g npm@latest
23
+ - run: npm ci
24
+ - run: npm publish --provenance --access public
25
+ env:
26
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments