From e9aea4fd29a4d0b908f62ab64b9794d21d41b497 Mon Sep 17 00:00:00 2001 From: Raphael MANSUY Date: Mon, 1 Jul 2024 16:48:23 +0800 Subject: [PATCH] fix CI --- .github/workflows/ci_cd.yml | 10 ++++++---- package.json | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) 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 +}