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 4b0e793 commit 0fd4933Copy full SHA for 0fd4933
.github/workflows/build.yml
@@ -20,6 +20,18 @@ jobs:
20
with:
21
node-version: "12.x"
22
23
+ - name: Get yarn cache directory path
24
+ id: yarn-cache-dir-path
25
+ run: echo "::set-output name=dir::$(yarn cache dir)"
26
+
27
+ - uses: actions/cache@v2
28
+ id: yarn-cache
29
+ with:
30
+ path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
31
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
32
+ restore-keys: |
33
+ ${{ runner.os }}-yarn-
34
35
- name: Install dependencies
36
run: yarn --frozen-lockfile
37
0 commit comments