chore: add installation of Linux native bindings in CI workflows to address npm optional dependencies issue

This commit is contained in:
Kacper
2025-12-13 21:49:16 +01:00
parent 41ae35bcdb
commit 673dcd1113
3 changed files with 25 additions and 0 deletions

View File

@@ -29,6 +29,14 @@ jobs:
# optional dependencies (e.g., @tailwindcss/oxide, lightningcss binaries)
run: npm install
- name: Install Linux native bindings
# Workaround for npm optional dependencies bug (npm/cli#4828)
# Explicitly install Linux bindings needed for build tools
run: |
npm install --no-save --force \
@rollup/rollup-linux-x64-gnu@4.53.3 \
@tailwindcss/oxide-linux-x64-gnu@4.1.17
- name: Run server tests with coverage
run: npm run test:server:coverage
env: