Skip to content

Commit

Permalink
Try building on Pages with a Turborepo concurrency of 1 (for serial b…
Browse files Browse the repository at this point in the history
…uild execution).
  • Loading branch information
danielnaab committed Jan 26, 2024
1 parent c7887e7 commit 2094fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dev": "turbo run dev",
"format": "prettier --write \"packages/**/*.{js,jsx,ts,tsx}\"",
"lint": "turbo run lint",
"pages": "rm -rf node_modules && npm i -g pnpm turbo && pnpm i && NODE_OPTIONS=--max-old-space-size=$(expr $(echo '$(free -m)' | awk '/^Mem:/ {print $2}') - 512) pnpm build --concurrency 5 && ln -sf ./apps/spotlight/dist _site",
"pages": "rm -rf node_modules && npm i -g pnpm turbo && pnpm i && pnpm build --concurrency 1 && ln -sf ./apps/spotlight/dist _site",
"test": "run-p test:*",
"test:infra": "turbo run --filter=infra test",
"test:vitest": "vitest run --coverage.enabled --coverage.reporter=text --coverage.reporter=json-summary --coverage.reporter=json --coverage.reportOnFailure --reporter vitest-github-actions-reporter"
Expand Down

0 comments on commit 2094fd9

Please sign in to comment.