There was an error while loading. Please reload this page.
1 parent 1725fcd commit 8090a69Copy full SHA for 8090a69
1 file changed
.github/workflows/build.yml
@@ -22,6 +22,18 @@ jobs:
22
uses: actions/setup-node@v1
23
with:
24
node-version: ${{ matrix.node-version }}
25
+
26
+ - name: Get yarn cache directory path
27
+ id: yarn-cache-dir-path
28
+ run: echo "::set-output name=dir::$(yarn cache dir)"
29
30
+ - uses: actions/cache@v2
31
+ with:
32
+ path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
33
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
34
+ restore-keys: |
35
+ ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ matrix.node-version }}
36
37
- run: yarn --frozen-lockfile
38
- run: yarn eslint
39
- run: yarn build
0 commit comments