File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed
Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,34 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v4
14+ - name : Checkout code
15+ uses : actions/checkout@v4
1516
16- - name : Set up Node.js
17+ - name : Setup Node.js
1718 uses : actions/setup-node@v4
1819 with :
1920 node-version : ' 20'
20- cache : ' yarn'
2121
22- - name : Enable Corepack
23- run : corepack enable
22+ - name : Setup Corepack
23+ run : |
24+ corepack enable
25+ corepack prepare [email protected] --activate 26+
27+ - name : Get yarn cache directory path
28+ id : yarn-cache-dir-path
29+ run : echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
2430
25- - name : Install dependencies
26- run : yarn install --immutable --immutable-cache
31+ - name : Cache yarn dependencies
32+ uses : actions/cache@v4
33+ with :
34+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
35+ key : yarn-cache-${{ hashFiles('**/yarn.lock') }}
36+ restore-keys : |
37+ yarn-cache-
38+
39+ - name : Install Dependencies
40+ run : |
41+ yarn install --immutable --inline-builds
2742
2843 - name : Build shared packages
2944 run : |
You can’t perform that action at this time.
0 commit comments