Skip to content

Commit 228f44c

Browse files
authored
[CI] [GHA] Explicitly enable caching of npm dependencies, more verbose test output (#32480)
1 parent fab4c63 commit 228f44c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/job_openvino_js.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,21 @@ jobs:
6666
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
6767
with:
6868
node-version: ${{ env.NODE_VERSION }}
69+
cache: npm
70+
cache-dependency-path: ${{ env.OPENVINO_JS_DIR }}/package-lock.json
6971

7072
- name: Configure OpenVINO JS API
7173
working-directory: ${{ env.OPENVINO_JS_DIR }}
7274
run: npm i
7375

7476
- name: Test OpenVINO JS API
7577
working-directory: ${{ env.OPENVINO_JS_DIR }}
76-
run: npm run test
78+
run: npm run test --loglevel=silly
7779

7880
- name: Install electron deps and run Xvfb
7981
if: runner.os == 'Linux'
8082
run: Xvfb "$DISPLAY" &
8183

8284
- name: E2E of openvino-node package
8385
working-directory: ${{ env.OPENVINO_JS_DIR }}
84-
run: npm run test:e2e
86+
run: npm run test:e2e --loglevel=silly

.github/workflows/windows_vs2022_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ jobs:
212212
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
213213
with:
214214
node-version: ${{ env.NODE_VERSION }}
215+
cache: npm
216+
cache-dependency-path: ${{ env.OPENVINO_JS_DIR }}/package-lock.json
215217

216218
- name: Configure OpenVINO JS API
217219
working-directory: ${{ env.OPENVINO_JS_DIR }}

0 commit comments

Comments
 (0)