Skip to content

Commit

Permalink
Maybe fix the build?
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Feb 11, 2024
1 parent fe71599 commit 507287b
Show file tree
Hide file tree
Showing 3 changed files with 643 additions and 1,162 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
with:
node-version: 20.x
- name: Install dependencies
run: |
npm ci
# npm is an awful piece of software
# https://github.com/npm/cli/issues/4828
npm install --include=optional sharp
# --build-from-source is used to work around npm being an awful piece of software
# https://github.com/npm/cli/issues/4828
# https://sharp.pixelplumbing.com/install#building-from-source
run: npm install --build-from-source
- name: Run tests
run: npm test
Loading

1 comment on commit 507287b

@dumorando
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i love yarn and pnpm

Please sign in to comment.