We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1773bdb commit 6ea0d9fCopy full SHA for 6ea0d9f
1 file changed
.github/workflows/ci.yml
@@ -23,9 +23,20 @@ jobs:
23
- uses: actions/checkout@v1
24
- uses: actions/cache@v1
25
id: cache
26
+ if: matrix.os != 'windows'
27
with:
28
path: ~/.npm
29
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles('**/package-lock.json') }}
30
+ - name: Get npm cache directory
31
+ id: npm-cache
32
+ if: matrix.os == 'windows'
33
+ run: |
34
+ echo "::set-output name=dir::$(npm config get cache)"
35
+ - uses: actions/cache@v2
36
37
+ with:
38
+ path: ${{ steps.npm-cache.outputs.dir }}
39
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
40
- name: Install dependencies
41
run: npm install
42
0 commit comments