File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Workflow to publish to npmjs.org
2+ name : Publish Package to npmjs
3+ on :
4+ release :
5+ types : [ created ]
6+ # Allows you to run this workflow manually from the Actions tab
7+ workflow_dispatch :
8+ jobs :
9+ publish :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ - uses : actions/setup-node@v3
14+ with :
15+ node-version : ' 16.x'
16+ registry-url : ' https://registry.npmjs.org/'
17+ - run : npm ci
18+ - run : npm publish
19+ env :
20+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
21+
Original file line number Diff line number Diff line change 11{
2- "name" : " httpt-firewall" ,
2+ "name" : " @prizemates/ httpt-firewall" ,
33 "version" : " 0.0.1" ,
4- "description" : " HTTP Firewall" ,
4+ "description" : " HTTP Firewall based on Spring Security HttpFirewall " ,
55 "private" : false ,
66 "main" : " ./dist/demo/demo.js" ,
77 "types" : " ./dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments