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
This commit is contained in:
1 parent
0d769b436d
commit
c7e8c7da3e
1 file changed
+6
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user