File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 3131 steps :
3232 - name : Checkout
3333 uses : actions/checkout@v4
34+ - name : Install Node.js
35+ uses : actions/setup-node@v4
36+ with :
37+ node-version : 20
38+
39+ - uses : pnpm/action-setup@v3
40+ name : Install pnpm
41+ with :
42+ version : 8
43+ run_install : false
44+
45+ - name : Get pnpm store directory
46+ shell : bash
47+ run : |
48+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
49+
50+ - uses : actions/cache@v4
51+ name : Setup pnpm cache
52+ with :
53+ path : ${{ env.STORE_PATH }}
54+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
55+ restore-keys : |
56+ ${{ runner.os }}-pnpm-store-
57+
58+ - name : Install dependencies
59+ run : pnpm install
60+
61+ - name : Build
62+ run : pnpm build
63+
3464 - name : Setup Pages
3565 uses : actions/configure-pages@v5
3666 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments