File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Publishing Package
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ # Setup .npmrc file to publish to npm
11+ - uses : actions/setup-node@v2
12+ with :
13+ node-version : ' 16.x'
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm install
16+ - run : npm run test
17+ - run : npm run publish
18+ env :
19+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " verto-cace-interface" ,
3- "version" : " 1.0.0 " ,
4- "description" : " The common functionalities to communicate with the cache system " ,
3+ "version" : " 1.0.1 " ,
4+ "description" : " A communication package with Verto Cache System " ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
77 "scripts" : {
88 "build" : " nest build" ,
9- "test" : " jest"
9+ "test" : " jest" ,
10+ "publish" : " npm run build && npm publish"
1011 },
1112 "repository" : {
1213 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments