Skip to content

Commit 4caf3e7

Browse files
committed
build: fix pnpm ignoring sharp build scripts
1 parent 0be55b9 commit 4caf3e7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ jobs:
1616
steps:
1717
- name: Checkout your repository using git
1818
uses: actions/checkout@v4
19+
20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 10.14.0
24+
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 20
29+
cache: 'pnpm'
30+
31+
- name: Install dependencies
32+
run: pnpm install --no-frozen-lockfile
33+
env:
34+
SHARP_IGNORE_GLOBAL_LIBVIPS: 1
35+
1936
- name: Install, build, and upload your site
2037
uses: withastro/action@v3
2138
# with:

0 commit comments

Comments
 (0)