File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,22 @@ jobs:
18
18
- name : Setup Ninja
19
19
uses : seanmiddleditch/gha-setup-ninja@master
20
20
21
- - name : Setup
22
- uses : ./.github/actions/setup
21
+ - name : Cache dependencies
22
+ id : yarn-cache
23
+ uses : actions/cache@v3
23
24
with :
24
- github_token : ${{ secrets.GITHUB_TOKEN }}
25
+ path : |
26
+ **/node_modules
27
+ .yarn/install-state.gz
28
+ key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
31
+ ${{ runner.os }}-yarn-
32
+
33
+ - name : Install dependencies
34
+ if : steps.yarn-cache.outputs.cache-hit != 'true'
35
+ run : yarn install --immutable
36
+ shell : bash
25
37
26
38
- name : Build Skia
27
39
working-directory : ./packages/skia
You can’t perform that action at this time.
0 commit comments