[OV JS] Add test of installation openvino-node package (#24404)

### Details:
- Based on this issue:
https://github.com/openvinotoolkit/openvino/issues/24015
This commit is contained in:
Vishniakov Nikolai 2024-05-14 11:10:44 +02:00 committed by GitHub
parent 8c82c6044e
commit 5cfefd768b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -354,7 +354,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Configure OpenVINO JS
working-directory: ${{ env.OPENVINO_JS_DIR }}/node
@ -369,6 +369,15 @@ jobs:
working-directory: ${{ env.OPENVINO_JS_DIR }}/node
run: call npm test
- name: Create package dir
working-directory: ${{ env.OPENVINO_JS_DIR }}
run: mkdir project-uses-openvino-node
- name: Test installation of openvino-node package
working-directory: ${{ env.OPENVINO_JS_DIR }}/project-uses-openvino-node
run: |
npm i openvino-node
node -e "const { addon: ov } = require('openvino-node'); console.log(ov);"
Openvino_tokenizers:
name: OpenVINO tokenizers extension
needs: [ Build, Smart_CI ]