Skip to content

Commit 08ca1aa

Browse files
committed
fix: lockfile 2
1 parent 72b7e41 commit 08ca1aa

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,28 @@ jobs:
1515
with:
1616
version: 9
1717

18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '20'
22+
cache: 'pnpm'
23+
1824
- uses: oven-sh/setup-bun@v1
1925
with:
2026
bun-version: latest
2127

2228
- name: Install dependencies
2329
run: |
24-
pnpm install
30+
pnpm install --frozen-lockfile
2531
bun install
2632
2733
- name: Generate database
2834
run: pnpm generate-db
2935

3036
- name: Build site
31-
run: pnpm build
37+
run: |
38+
cd site
39+
pnpm run build
3240
3341
- name: Upload artifact
3442
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)