diff --git a/.github/workflows/nodejs-demos.yml b/.github/workflows/nodejs-demos.yml index f6f2f4c..e6bf0ae 100644 --- a/.github/workflows/nodejs-demos.yml +++ b/.github/workflows/nodejs-demos.yml @@ -39,12 +39,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Node.js SDK - run: yarn && yarn build - working-directory: binding/nodejs - # ******************************************************** - - name: Install dependencies run: yarn install @@ -61,12 +55,6 @@ jobs: steps: - uses: actions/checkout@v3 - # ************** REMOVE AFTER RELEASE ******************** - - name: Build Node.js SDK - run: yarn && yarn build - working-directory: binding/nodejs - # ******************************************************** - - name: Install dependencies run: yarn install diff --git a/binding/nodejs/README.md b/binding/nodejs/README.md index 6ab90ea..b57808a 100644 --- a/binding/nodejs/README.md +++ b/binding/nodejs/README.md @@ -67,4 +67,4 @@ Finally, when done be sure to explicitly release the resources using ## Demos -The [Cobra Node.js demo package](../../demo/nodejs) provides command-line utilities for processing audio using Cobra. +The [Cobra Node.js demo package](https://www.npmjs.com/package/@picovoice/cobra-node-demo) provides command-line utilities for processing audio using Cobra. diff --git a/demo/nodejs/package.json b/demo/nodejs/package.json index 4b6fd07..0e0a3e8 100644 --- a/demo/nodejs/package.json +++ b/demo/nodejs/package.json @@ -16,7 +16,7 @@ "author": "Picovoice Inc.", "license": "Apache-2.0", "dependencies": { - "@picovoice/cobra-node": "file:../../binding/nodejs", + "@picovoice/cobra-node": "=2.0.0", "@picovoice/pvrecorder-node": "~1.2.1", "commander": "^6.1.0", "readline": "^1.3.0", diff --git a/demo/nodejs/yarn.lock b/demo/nodejs/yarn.lock index 1c77a73..1eb00ee 100644 --- a/demo/nodejs/yarn.lock +++ b/demo/nodejs/yarn.lock @@ -2,8 +2,10 @@ # yarn lockfile v1 -"@picovoice/cobra-node@file:../../binding/nodejs": +"@picovoice/cobra-node@=2.0.0": version "2.0.0" + resolved "https://registry.yarnpkg.com/@picovoice/cobra-node/-/cobra-node-2.0.0.tgz#6a881a11133f419b42d97dfb50a09be2d0a027fd" + integrity sha512-zA2A51bQ6i2lkmY+cNXM6ItooyLvbjF5j2mBIxbWwDny++74Mjrj97MdxS5HNDXmUZ0lAtJgn1CEgdUsIeLXxw== "@picovoice/pvrecorder-node@~1.2.1": version "1.2.1"