Fix Bun install step by stubbing desktop workspace

This commit is contained in:
Esdras Renan 2025-11-04 23:34:49 -03:00
parent 775956c160
commit 4ec5f15c9d

View file

@ -175,6 +175,14 @@ jobs:
printf "packages:\n - .\n\nignoredBuiltDependencies:\n - '@prisma/client'\n - '@prisma/engines'\n - '@tailwindcss/oxide'\n - esbuild\n - prisma\n - sharp\n - unrs-resolver\n" > pnpm-workspace.yaml printf "packages:\n - .\n\nignoredBuiltDependencies:\n - '@prisma/client'\n - '@prisma/engines'\n - '@tailwindcss/oxide'\n - esbuild\n - prisma\n - sharp\n - unrs-resolver\n" > pnpm-workspace.yaml
# Remove desktop app to avoid pnpm touching its node_modules on this runner # Remove desktop app to avoid pnpm touching its node_modules on this runner
rm -rf apps/desktop || true rm -rf apps/desktop || true
mkdir -p apps/desktop
cat <<'JSON' > apps/desktop/package.json
{
"name": "appsdesktop",
"private": true,
"version": "0.0.0"
}
JSON
- name: Ensure Next.js cache directory exists and is writable - name: Ensure Next.js cache directory exists and is writable
run: | run: |