File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ node-version : [18.x]
11+ steps :
12+ - uses : actions/checkout@v4
13+ - name : Setup Node
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version : ${{ matrix.node-version }}
17+ registry-url : ' https://registry.npmjs.org'
18+ - name : Install dependencies and build
19+ run : npm run prepublish
20+ - name : Publish package
21+ run : npm publish
22+ env :
23+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1010 "dev" : " node ./dev.js" ,
1111 "dev-ts" : " yarn run prepublish && npx ts-node ./dev.ts"
1212 },
13- "repository" : " https://github.com/Capure /vulcan-api-js.git" ,
13+ "repository" : " https://github.com/avorty /vulcan-api-js.git" ,
1414 "author" : " Capure" ,
1515 "license" : " MIT" ,
1616 "dependencies" : {
You can’t perform that action at this time.
0 commit comments