File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,23 @@ jobs:
15
15
16
16
- uses : actions/setup-python@v4
17
17
with :
18
- python-version : ' 3.11'
18
+ python-version : " 3.11"
19
19
20
20
- name : Setup NodeJS
21
21
uses : ./.github/workflows/actions/setup-node
22
22
23
- - name : Cache app node_modules
24
- uses : actions/cache@v3
23
+ - name : Get Yarn cache directory path
24
+ id : yarn-cache-dir-path
25
+ run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
26
+
27
+ - name : Restore Yarn cache
28
+ uses : actions/cache@v4
29
+ id : yarn-cache
25
30
with :
26
- path : .yarn/ cache
27
- # Cache will be invalidated if yarn.lock changes
28
- key : ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
29
- restore-keys : ${{ runner.os }}-yarn-
31
+ path : ${{ steps .yarn- cache-dir-path.outputs.dir }}
32
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/ yarn.lock') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-yarn-
30
35
31
36
- name : Install dependencies
32
37
working-directory : app
70
75
71
76
- uses : actions/setup-python@v5
72
77
with :
73
- python-version : ' 3.11'
78
+ python-version : " 3.11"
74
79
75
80
- name : Setup NodeJS
76
81
uses : ./.github/workflows/actions/setup-node
You can’t perform that action at this time.
0 commit comments