@trithanka/sql-builder
Advanced tools
| # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
| # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
| name: Node.js Package | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| release: | ||
| types: [created] | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| - run: npm ci | ||
| - run: npm test | ||
| publish-npm: | ||
| needs: build | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
| registry-url: https://registry.npmjs.org/ | ||
| - run: npm ci | ||
| - run: npm publish | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
+1
-1
| { | ||
| "name": "@trithanka/sql-builder", | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "description": "A lightweight, function-based, chainable SQL query builder for Node.js using MySQL pool connections.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
+1
-1
@@ -6,3 +6,3 @@ # SQL Query Builder ๐งฉ | ||
| [](https://github.com/Trithanka/sql-query-builder/blob/main/LICENSE) | ||
| [](https://github.com/Trithanka/sql-query-builder/actions) | ||
| [](https://github.com/Trithanka/sql-query-builder/actions) | ||
@@ -9,0 +9,0 @@ |
9995
9.49%14
7.69%