File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 21
21
run : echo "DATABASE_URL=$DATABASE_URL" >> .env && echo "DEFAULT_DEVICE_PORT=$DEFAULT_DEVICE_PORT" >> .env && echo "EXCLUDED_PROPERTIES=$EXCLUDED_PROPERTIES" >> .env
22
22
- name : Install dependencies
23
23
run : npm ci --include=dev && npm run bootstrap_dev_db && npm run bootstrap_evolver_ts_client
24
+ # This fixes a known npm bug (#4828) with optional dependencies
25
+ # Rollup uses platform-specific binaries (Linux/Mac/Windows)
26
+ # When running in GitHub Actions (Linux), it needs the Linux-specific binary
27
+ # But npm sometimes fails to correctly resolve these platform-specific dependencies
28
+ - name : Fix rollup dependency issue
29
+ run : |
30
+ rm -rf node_modules/.cache
31
+ rm -rf node_modules/@rollup
32
+ npm install @rollup/rollup-linux-x64-gnu
24
33
- name : Run unit tests and generate a coverage report
25
34
run : npm run test:coverage
26
35
- uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments