File tree Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Expand file tree Collapse file tree 2 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to npm
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ tags :
7+ - " v*.*.*"
8+
9+ jobs :
10+ publish :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - uses : actions/setup-node@v4
17+ with :
18+ node-version : " 18"
19+ registry-url : " https://registry.npmjs.org/"
20+ always-auth : true
21+
22+ - name : Install deps & build
23+ run : |
24+ npm ci
25+ npm run build
26+
27+ - name : Publish to npm
28+ run : npm publish
29+ env :
30+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
2- "name" : " siren-ts-sdk " ,
3- "version" : " 1.0 .0" ,
2+ "name" : " @sirenapp/node " ,
3+ "version" : " 0.1 .0" ,
44 "description" : " TypeScript SDK for interacting with the Siren API" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
2626 ],
2727 "author" : " " ,
2828 "license" : " MIT" ,
29+ "publishConfig" : {
30+ "access" : " public"
31+ },
2932 "repository" : {
3033 "type" : " git" ,
3134 "url" : " git+https://github.com/KeyValueSoftwareSystems/siren-ts-sdk.git"
You can’t perform that action at this time.
0 commit comments