File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
js-lib/examples/vite/client Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish trame client to npmjs
2+ on :
3+ push :
4+ branches : [ master ]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ # Setup .npmrc file to publish to npm
11+ - uses : actions/setup-node@v4
12+ with :
13+ node-version : ' 20.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - name : Install dependencies
16+ run : npm ci
17+ working-directory : ./js-lib
18+ - name : Build library
19+ run : npm run build
20+ working-directory : ./js-lib
21+ - name : Publish library
22+ run : npm publish --provenance --access public
23+ working-directory : ./js-lib
24+ env :
25+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1212 "vite" : " ^5.2.0"
1313 },
1414 "dependencies" : {
15- "@kitware/trame-iframe-client" : " /home/jules/projects/kitware/trame/repos/trame-iframe/js-lib/dist/trame-iframe.mjs "
15+ "@kitware/trame-iframe-client" : " ^0.0.1 "
1616 }
1717}
You can’t perform that action at this time.
0 commit comments