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 aa65b71 commit fcda446Copy full SHA for fcda446
.github/workflows/test-suite.yml
@@ -12,6 +12,18 @@ jobs:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v1
15
+
16
+ - name: Get yarn cache directory path
17
+ id: yarn-cache-dir-path
18
+ run: echo "::set-output name=dir::$(yarn cache dir)"
19
20
+ - uses: actions/cache@v2
21
+ id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
22
+ with:
23
+ path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
24
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
25
+ restore-keys: |
26
+ ${{ runner.os }}-yarn-
27
28
- name: Set Node.js
29
uses: actions/setup-node@master
0 commit comments