Skip to content

Commit c7e8c7d

Browse files
authored
Fix failing GitHub action on Windows (RooCodeInc#4107)
* Use cache builtin to actions/setup-node@4 * Update test.yml npm ci --verbose * Update test.yml * Install local packages on windows * formatting
1 parent 0d769b4 commit c7e8c7d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
if: steps.webview-cache.outputs.cache-hit != 'true'
6969
run: cd webview-ui && npm ci
7070

71+
- name: Install local modules on windows
72+
if: runner.os == 'Windows' && steps.root-cache.outputs.cache-hit == 'true'
73+
run: |
74+
npm install eslint-plugin-eslint-rules
75+
cd webview-ui/ && npm install eslint-plugin-eslint-rules
76+
7177
- name: Set up NPM on Windows
7278
if: runner.os == 'Windows'
7379
run: |

0 commit comments

Comments
 (0)