Skip to content

Commit

Permalink
ensure cwebp is installed in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Jan 13, 2025
1 parent 9c5490d commit d171eb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
node-version: 22
cache: "pnpm"
- run: sudo apt-get update -yy && sudo apt-get install -yy webp
- run: pnpm install
- run: pnpm run build
- uses: JamesIves/github-pages-deploy-action@v4.7.1
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Initial setup:
- linux/macOS: `curl -fsSL https://get.pnpm.io/install.sh | sh -`
- install website dependencies
- `pnpm install`
- the [cwebp](https://developers.google.com/speed/webp/download) binary is also needed to convert image files
- ubuntu: `sudo apt install webp`

To build from source, start local http-server, open website in browser, monitor & re-build modified source files:

Expand Down

0 comments on commit d171eb2

Please # to comment.