diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index e68c9cb..2196c76 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -25,8 +25,10 @@ jobs: run: node scripts/check_version.js - name: Publish to npm if: steps.check_version.outputs.is_release == 'true' - uses: JS-DevTools/npm-publish@v2 + uses: actions/setup-node@v3 with: - token: ${{ secrets.NPM_TOKEN }} - package: ./package.json - access: public \ No newline at end of file + node-version: '18' + registry-url: 'https://registry.npmjs.org' + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/package.json b/package.json index cb4fa0e..b29172c 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "ai" ], "bin": { - "qllm": "./dist/qllm.js" + "qllm": "dist/qllm.js" }, "author": "quantalogic", "license": "Apache-2.0", @@ -67,4 +67,4 @@ "glob": "^10.4.2", "inflight": "npm:@isaacs/inflight@^1.0.1" } -} \ No newline at end of file +}