Skip to content

Commit 10e59f3

Browse files
committed
Fix Gifsicle breaking CI
1 parent e1ce5aa commit 10e59f3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
uses: withastro/action@v5
3131
with:
3232
node-version: lts/*
33+
build-cmd: pnpm install-gifsicle-bin && pnpm build
3334

3435
deploy:
3536
needs: build

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"lint": "prettier --check .",
77
"start": "astro dev",
88
"build": "astro build",
9-
"preview": "astro build && astro preview"
9+
"preview": "astro build && astro preview",
10+
"install-gifsicle-bin": "node node_modules/gifsicle/lib/install.js"
1011
},
1112
"devDependencies": {
1213
"@astrojs/markdown-remark": "^6.3.9",

0 commit comments

Comments
 (0)