File tree Expand file tree Collapse file tree 2 files changed +9
-26
lines changed Expand file tree Collapse file tree 2 files changed +9
-26
lines changed Original file line number Diff line number Diff line change @@ -15,29 +15,17 @@ jobs:
1515
1616 - uses : pnpm/action-setup@v4
1717 name : Install pnpm
18- with :
19- run_install : false
2018
2119 - name : Setup NodeJS
2220 uses : actions/setup-node@v6
2321 with :
2422 node-version-file : " .nvmrc"
23+ cache : pnpm
2524
26- - name : Get npm version
27- run : npm --version
28-
29- - name : Get pnpm store directory
30- shell : bash
25+ - name : Update npm
3126 run : |
32- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
33-
34- - uses : actions/cache@v4
35- name : Setup pnpm cache
36- with :
37- path : ${{ env.STORE_PATH }}
38- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
39- restore-keys : |
40- ${{ runner.os }}-pnpm-store-
27+ npm install -g npm@latest
28+ npm --version
4129
4230 - name : Install dependencies
4331 run : pnpm install
Original file line number Diff line number Diff line change @@ -29,17 +29,12 @@ jobs:
2929 uses : actions/setup-node@v6
3030 with :
3131 node-version-file : " .nvmrc"
32- - name : Get pnpm store directory
33- shell : bash
32+ cache : pnpm
33+ - name : Update npm
3434 run : |
35- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
36- - uses : actions/cache@v4
37- name : Setup pnpm cache
38- with :
39- path : ${{ env.STORE_PATH }}
40- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
41- restore-keys : |
42- ${{ runner.os }}-pnpm-store-
35+ npm install -g npm@latest
36+ npm --version
37+
4338 - name : Install dependencies
4439 run : pnpm install
4540
You can’t perform that action at this time.
0 commit comments