Skip to content

Commit c14f00c

Browse files
authored
Update deploy.yml
1 parent c81562a commit c14f00c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)