File tree Expand file tree Collapse file tree 3 files changed +6
-64
lines changed Expand file tree Collapse file tree 3 files changed +6
-64
lines changed Original file line number Diff line number Diff line change @@ -15,32 +15,12 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v3
18-
18+ - run : corepack enable
1919 - name : Install Node.js
2020 uses : actions/setup-node@v3
2121 with :
2222 node-version : 18
23-
24- - uses : pnpm/action-setup@v2
25- name : Install pnpm
26- id : pnpm-install
27- with :
28- version : 8
29- run_install : false
30-
31- - name : Get pnpm store directory
32- id : pnpm-cache
33- shell : bash
34- run : |
35- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
36-
37- - uses : actions/cache@v3
38- name : Setup pnpm cache
39- with :
40- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
41- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42- restore-keys : |
43- ${{ runner.os }}-pnpm-store-
23+ cache : ' pnpm'
4424
4525 - name : Install dependencies
4626 run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -17,32 +17,12 @@ jobs:
1717 runs-on : ubuntu-latest
1818 steps :
1919 - uses : actions/checkout@v3
20-
20+ - run : corepack enable
2121 - name : Install Node.js
2222 uses : actions/setup-node@v3
2323 with :
2424 node-version : 18
25-
26- - uses : pnpm/action-setup@v2
27- name : Install pnpm
28- id : pnpm-install
29- with :
30- version : 8
31- run_install : false
32-
33- - name : Get pnpm store directory
34- id : pnpm-cache
35- shell : bash
36- run : |
37- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
38-
39- - uses : actions/cache@v3
40- name : Setup pnpm cache
41- with :
42- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
43- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
44- restore-keys : |
45- ${{ runner.os }}-pnpm-store-
25+ cache : ' pnpm'
4626
4727 - name : Install dependencies
4828 run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change @@ -22,29 +22,11 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v3
25-
25+ - run : corepack enable
2626 - uses : actions/setup-node@v3
2727 with :
2828 node-version : 18
29-
30- - uses : pnpm/action-setup@v2
31- with :
32- version : 8
33- run_install : false
34-
35- - name : Get pnpm store directory
36- id : pnpm-cache
37- shell : bash
38- run : |
39- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
40-
41- - uses : actions/cache@v3
42- name : Setup pnpm cache
43- with :
44- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
45- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46- restore-keys : |
47- ${{ runner.os }}-pnpm-store-
29+ cache : ' pnpm'
4830
4931 - name : Cache firebase tools
5032 id : cache-firebase-tools
You can’t perform that action at this time.
0 commit comments