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.
2 parents cf85a0a + d30b557 commit 8aaf08aCopy full SHA for 8aaf08a
.github/workflows/cd.yml
@@ -8,14 +8,17 @@ on:
8
jobs:
9
build:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ id-token: write
14
steps:
15
- name: Checkout
16
uses: actions/checkout@v2
17
with:
18
fetch-depth: 0
19
- uses: actions/setup-node@v1
20
- node-version: '20.x'
21
+ node-version: '21.x'
22
registry-url: 'https://registry.npmjs.org'
23
24
- name: Install dependencies
@@ -32,8 +35,7 @@ jobs:
32
35
id: release
33
36
34
37
- name: Publish to NPM Registry
- run: cd build && npm publish --access public
38
+ run: cd build && npm publish --provenance --access public
39
if: steps.release.outputs.released == 'true'
40
env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41
name: Deploy
0 commit comments