mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Disable caching in CI for Windows
Installing Electron in Windows seems to be broken in this regards. Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
bae83e1a53
commit
b5d59e17fb
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -33,11 +33,13 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Get npm cache directory path
|
- name: Get npm cache directory path
|
||||||
|
if: ${{ runner.os != 'Windows' }}
|
||||||
id: npm-cache-dir-path
|
id: npm-cache-dir-path
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
|
run: echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
|
if: ${{ runner.os != 'Windows' }}
|
||||||
id: npm-cache # use this to check for `cache-hit` (`steps.npm-cache.outputs.cache-hit != 'true'`)
|
id: npm-cache # use this to check for `cache-hit` (`steps.npm-cache.outputs.cache-hit != 'true'`)
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.npm-cache-dir-path.outputs.dir }}
|
path: ${{ steps.npm-cache-dir-path.outputs.dir }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user