From bccca454862e31b9d7cc7573a36941418f848627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Tue, 20 Oct 2026 23:39:15 +0300 Subject: [PATCH] ci: install the frontend npm deps before the suite The v3.31.1 run's frontend suite failed on sp.test.js: require('des.js') (aes-js likewise) needs the npm dependencies, which exist in a working tree but not on a fresh runner. The workflow now runs npm ci in frontend/ (the lockfile is checked in) before node --test. --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d880a8c..cbf438e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,6 +57,12 @@ jobs: working-directory: simple run: python -m unittest discover -s tests + # sp.test.js / the AES tests require the npm runtime dependencies + # (des.js, aes-js); the build deps come along with them. + - name: Install the frontend test dependencies + working-directory: simple/frontend + run: npm ci --no-audit --no-fund + - name: Frontend suite working-directory: simple/frontend run: node --test