From b6819abd1fbdeebf968447a2941a50eb3a409ed5 Mon Sep 17 00:00:00 2001 From: Aleksandr Borovskii Date: Thu, 26 Nov 2026 19:44:03 +0100 Subject: [PATCH] ci: skip install scripts when installing test dependencies The smoke and e2e jobs install the repository's dependencies only to run jest against the CLI under test, which they download or install separately. On Windows `npm ci` still ran node-libcurl's install script, whose vcpkg source build took 20-29 minutes in each Windows test job. --- .github/workflows/test-cli.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test-cli.yml b/.github/workflows/test-cli.yml index 6ca60248..f0204481 100644 --- a/.github/workflows/test-cli.yml +++ b/.github/workflows/test-cli.yml @@ -130,6 +130,10 @@ jobs: - name: Install Dependencies uses: ./.github/workflows/composite/npm + # Tests only spawn the CLI under test; skipping install scripts avoids + # node-libcurl's vcpkg source build, which takes 20+ minutes on Windows. + env: + npm_config_ignore_scripts: true with: cache: '' @@ -188,6 +192,8 @@ jobs: - name: Install Dependencies uses: ./.github/workflows/composite/npm + env: + npm_config_ignore_scripts: true with: cache: '' @@ -228,6 +234,8 @@ jobs: - name: Install Dependencies uses: ./.github/workflows/composite/npm + env: + npm_config_ignore_scripts: true with: cache: '' @@ -325,6 +333,8 @@ jobs: - name: Install Dependencies uses: ./.github/workflows/composite/npm + env: + npm_config_ignore_scripts: true with: version: ${{ matrix.node }} cache: ''