File tree Expand file tree Collapse file tree 4 files changed +7252
-1072
lines changed
Expand file tree Collapse file tree 4 files changed +7252
-1072
lines changed Original file line number Diff line number Diff line change 1+ name : Publish @kitware/vtk-wasm to npmjs
2+ on :
3+ push :
4+ branches :
5+ - main
6+ permissions :
7+ contents : read
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write # to be able to publish a GitHub release
13+ issues : write # to be able to comment on released issues
14+ pull-requests : write # to be able to comment on released pull requests
15+ id-token : write # to enable use of OIDC for npm provenance
16+ steps :
17+ - uses : actions/checkout@v5
18+ with :
19+ fetch-depth : 0
20+ persist-credentials : false
21+ - uses : actions/setup-node@v4
22+ with :
23+ node-version : " 24.x"
24+ registry-url : " https://registry.npmjs.org"
25+ - name : Install dependencies
26+ run : npm ci
27+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
28+ run : npm audit signatures
29+ - name : Build library
30+ run : npm run build
31+ - name : Publish library
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
34+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
35+ run : |
36+ git config --global user.name "Github Actions"
37+ git config --global user.email "[email protected] " 38+ npm run semantic-release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments