File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,29 @@ jobs:
2121 with :
2222 node-version : ' 20'
2323
24+ - name : Cache Yarn
25+ uses : actions/cache@v3
26+ with :
27+ path : |
28+ ~/.npm
29+ ~/.cache/yarn
30+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
31+ restore-keys : |
32+ ${{ runner.os }}-yarn-
33+
2434 - name : Install Yarn
2535 run : npm install -g yarn
2636
37+ - name : Cache node_modules
38+ uses : actions/cache@v3
39+ with :
40+ path : node_modules
41+ key : ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
42+ restore-keys : |
43+ ${{ runner.os }}-node-modules-
44+
2745 - name : Install dependencies
28- run : npm install
46+ run : yarn install
2947
3048 - name : Run build script
3149 run : .\build.bat
3452 uses : actions/upload-artifact@v4
3553 with :
3654 name : dist
37- path : dist/*.exe
55+ path : dist/*.exe
You can’t perform that action at this time.
0 commit comments