File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 2222 steps :
2323 - name : Checkout your repository using git
2424 uses : actions/checkout@v3
25+
26+ - uses : pnpm/action-setup@v3
27+ name : Install pnpm
28+ with :
29+ version : 8
30+ run_install : false
31+
32+ - name : Get pnpm store directory
33+ shell : bash
34+ run : |
35+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
36+
37+ - uses : actions/cache@v3
38+ name : Setup pnpm cache
39+ with :
40+ path : ${{ env.STORE_PATH }}
41+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
42+ restore-keys : |
43+ ${{ runner.os }}-pnpm-store-
44+
45+ - name : Install dependencies
46+ run : pnpm install --no-frozen-lockfile
47+
48+ - name : Build packages
49+ run : pnpm build
50+
2551 - name : Install, build, and upload your site
2652 uses : withastro/action@v1
2753 with :
You can’t perform that action at this time.
0 commit comments