File tree Expand file tree Collapse file tree 6 files changed +14
-7
lines changed Expand file tree Collapse file tree 6 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 2121 path : |
2222 ~/.cache/yarn
2323 node_modules
24-
2524 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
2625 restore-keys : |
2726 ${{ runner.os }}-build-${{ env.cache-name }}-
Original file line number Diff line number Diff line change 2121 - uses : actions/checkout@v3
2222 - uses : actions/setup-node@v3
2323 with :
24- node-version : 16
24+ node-version : 18
2525 registry-url : https://npm.pkg.github.com/
2626 - name : Cache node modules
2727 id : cache-yarn
Original file line number Diff line number Diff line change 1515 - uses : actions/checkout@v3
1616 - uses : actions/setup-node@v3
1717 with :
18- node-version : 16
18+ node-version : 18
1919 - run : yarn test
2020
2121 publish-gpr :
2828 - uses : actions/checkout@v3
2929 - uses : actions/setup-node@v3
3030 with :
31- node-version : 16
31+ node-version : 18
3232 registry-url : https://npm.pkg.github.com/
3333
3434 - name : Cache node modules
3737 env :
3838 cache-name : cache-node-module
3939 with :
40- path : ~/.cache/yarn
40+ path : |
41+ ~/.cache/yarn
42+ node_modules
4143 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
4244 restore-keys : |
4345 ${{ runner.os }}-build-${{ env.cache-name }}-
Original file line number Diff line number Diff line change 1717 - name : Cache node modules
1818 id : cache-yarn
1919 uses : actions/cache@v2
20+ env :
21+ cache-name : cache-node-module
2022 with :
2123 path : |
2224 ~/.cache/yarn
Original file line number Diff line number Diff line change 2323 env :
2424 cache-name : cache-node-module
2525 with :
26- path : ~/.npm
26+ path : |
27+ ~/.cache/yarn
28+ node_modules
2729 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
2830 restore-keys : |
2931 ${{ runner.os }}-build-${{ env.cache-name }}-
Original file line number Diff line number Diff line change 1818 env :
1919 cache-name : cache-node-module
2020 with :
21- path : ~/.npm
21+ path : |
22+ ~/.cache/yarn
23+ node_modules
2224 key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
2325 restore-keys : |
2426 ${{ runner.os }}-build-${{ env.cache-name }}-
You can’t perform that action at this time.
0 commit comments