From c7e8c7da3eb5e95e861cc9b3005657a5dd1b3a55 Mon Sep 17 00:00:00 2001 From: Sarah Fortune Date: Mon, 9 Jun 2025 13:40:49 -0700 Subject: [PATCH] Fix failing GitHub action on Windows (#4107) * Use cache builtin to actions/setup-node@4 * Update test.yml npm ci --verbose * Update test.yml * Install local packages on windows * formatting --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2171b498..906a5e71 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,6 +68,12 @@ jobs: if: steps.webview-cache.outputs.cache-hit != 'true' run: cd webview-ui && npm ci + - name: Install local modules on windows + if: runner.os == 'Windows' && steps.root-cache.outputs.cache-hit == 'true' + run: | + npm install eslint-plugin-eslint-rules + cd webview-ui/ && npm install eslint-plugin-eslint-rules + - name: Set up NPM on Windows if: runner.os == 'Windows' run: |