File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,24 @@ jobs:
4949 uses : actions/setup-node@v4
5050 with :
5151 node-version : ' 20'
52- cache : ' npm'
52+
53+ - name : Install pnpm
54+ run : npm install -g pnpm
55+ - name : Install dependencies
56+ run : pnpm install
57+
5358 - name : Setup Pages
5459 id : pages
5560 uses : actions/configure-pages@v4
56- - name : Install dependencies
57- run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
61+
5862 - name : Build production website
5963 env :
6064 # For maximum backward compatibility with Hugo modules
6165 HUGO_ENVIRONMENT : production
6266 HUGO_ENV : production
6367 TZ : America/Los_Angeles
6468 run : |
65- npm run build \
69+ pnpm run build \
6670 -- \
6771 --baseURL "${{ steps.pages.outputs.base_url }}/"
6872 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments