This repository was archived by the owner on Sep 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-21
lines changed
Expand file tree Collapse file tree 1 file changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -20,23 +20,24 @@ jobs:
2020 matrix :
2121 node-version : [20]
2222 steps :
23- - name : Checkout repo
23+
24+ - name : Checkout
2425 uses : actions/checkout@v4
2526 with :
2627 fetch-depth : 0
2728
28- - name : Use Node.js ${{ matrix.node-version }}
29- uses : actions/setup-node@v4
30- with :
31- node-version : ${{ matrix.node-version }}
32-
3329 - name : Install pnpm
34- uses : pnpm/action-setup@v2
30+ uses : pnpm/action-setup@v3
3531 id : pnpm-install
3632 with :
37- version : ^8.6.0
3833 run_install : false
3934
35+ - name : Install NodeJS ${{matrix.node-version}}
36+ uses : actions/setup-node@v4
37+ with :
38+ node-version : ${{matrix.node-version}}
39+ cache : ' pnpm'
40+
4041 - name : git config
4142 run : |
4243 git config user.name "${GITHUB_ACTOR}"
@@ -47,25 +48,15 @@ jobs:
4748 env :
4849 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
4950
50- - name : Get pnpm store directory
51- id : pnpm-cache
52- run : |
53- echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
54-
55- - name : Setup pnpm cache
56- uses : actions/cache@v4
57- with :
58- path : ${{ steps.pnpm-cache.outputs.STORE_PATH }}
59- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
60- restore-keys : |
61- ${{ runner.os }}-pnpm-store-
62-
6351 - name : Show changes
6452 run : git status --porcelain
6553
6654 - name : Install dependencies
6755 run : pnpm install --frozen-lockfile
6856
57+ - name : Show changes after install
58+ run : git status --porcelain
59+
6960 - name : Release
7061 run : |
7162 args=()
You can’t perform that action at this time.
0 commit comments