fix: macOS build failing

This commit is contained in:
LukeGus
2025-10-24 22:04:26 -05:00
parent d3cd1b5e8e
commit 4fd2b7eff0

View File

@@ -228,15 +228,15 @@ jobs:
npm install npm install
npm install --force @rollup/rollup-darwin-arm64 npm install --force @rollup/rollup-darwin-arm64
- name: Verify @swc/core installation - name: Fix @swc/core native bindings
run: | run: |
echo "Checking @swc/core installation..."
ls -la node_modules/@swc/core/ || echo "@swc/core not found"
ls -la node_modules/@swc/ || echo "@swc directory not found"
echo "Node version: $(node --version)"
echo "Platform: $(uname -m)" echo "Platform: $(uname -m)"
echo "Installed @swc packages:" echo "Manually running @swc/core postinstall..."
npm list @swc/core @swc/core-darwin-arm64 @swc/core-darwin-x64 || true cd node_modules/@swc/core
node postinstall.js
cd ../../..
echo "Checking for .node files:"
find node_modules/@swc -name "*.node" -type f || echo "No .node files found"
- name: Check for Code Signing Certificates - name: Check for Code Signing Certificates
id: check_certs id: check_certs