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 : Deploy package to NPM
2+ on :
3+ push :
4+ branches :
5+ - main
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+ - name : Setup Node.js
13+ uses : actions/setup-node@v3
14+ with :
15+ node-version : 18
16+ registry-url : ' https://registry.npmjs.org'
17+ - name : Install dependencies and build 🔧
18+ run : npm ci && npm run build
19+ - name : Publish package on NPM 📦
20+ run : npm publish
21+ env :
22+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " sql-to-nosql" ,
3- "version" : " 0.0.3 " ,
3+ "version" : " 0.0.4 " ,
44 "description" : " Run SQL quries on your Mongodb database." ,
55 "repository" : {
66 "type" : " git" ,
1010 "main" : " dist/index.js" ,
1111 "scripts" : {
1212 "start" : " tsc && node dist/index.js" ,
13+ "build" : " tsc" ,
1314 "test" : " echo \" Error: no test specified\" && exit 1"
1415 },
1516 "author" : " Arif Hossain" ,
You can’t perform that action at this time.
0 commit comments