File tree Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Expand file tree Collapse file tree 1 file changed +26
-10
lines changed Original file line number Diff line number Diff line change 1- name : CI
2- on : push
1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
38permissions :
4- contents : write
9+ contents : read
10+
511jobs :
6- test :
12+ release :
13+ name : Release
714 runs-on : ubuntu-latest
15+ permissions :
16+ contents : write
17+ issues : write
18+ pull-requests : write
19+ id-token : write
820 steps :
9- - uses : actions/checkout@v3
21+ - name : Checkout
22+ uses : actions/checkout@v3
1023 with :
1124 fetch-depth : 0
12- token : ${{ secrets.GITHUB_TOKEN }}
13- - uses : actions/setup-node@v3
25+ persist-credentials : false
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v3
1428 with :
1529 node-version : 16
16- - run : HUSKY=0 npm ci
17- - run : npm run build
30+ - name : Install dependencies
31+ run : HUSKY=0 npm ci && npm run build
32+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
33+ run : npm audit signatures
1834 - name : Release
1935 env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2037 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
21- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2238 run : npm run semantic-release
You can’t perform that action at this time.
0 commit comments