Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: always run turbo with 100% concurrency #3281

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:

- name: Build
shell: bash
run: pnpm turbo run build --cache-dir=.turbo --concurrency 10
run: pnpm run build --cache-dir=.turbo

- name: Outdated files, run `pnpm build` and commit them
uses: ./.github/actions/require-empty-diff
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
- name: Clean
if: steps.check_changes.outputs.changes_outside_docs
shell: bash
run: pnpm turbo run clean --concurrency 10
run: pnpm run clean

- name: Build
if: steps.check_changes.outputs.changes_outside_docs
shell: bash
run: pnpm turbo run build --concurrency 10
run: pnpm run build

- name: Outdated files, run `pnpm build` and commit them
if: steps.check_changes.outputs.changes_outside_docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:

- name: Clean
shell: bash
run: pnpm turbo run clean --force --concurrency 10
run: pnpm run clean --force

# Build without cache to ensure we release with the most accurate output
- name: Build
shell: bash
run: pnpm turbo run build --force --concurrency 10
run: pnpm run build --force

# The changesets action doesn't support releasing snapshots (yet),
# so doing it manually here
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"all-build": "for dir in packages/store packages/world packages/world-modules packages/cli test/mock-game-contracts e2e/packages/contracts examples/*/packages/contracts examples/multiple-namespaces templates/*/packages/contracts; do (cd \"$dir\" && pwd && pnpm build); done",
"all-install": "for dir in . docs e2e examples/* templates/*; do (cd \"$dir\" && pwd && pnpm install); done",
"bench": "pnpm run --recursive bench",
"build": "turbo run build",
"build": "turbo run build --concurrency=100%",
"changelog:generate": "tsx scripts/changelog.ts",
"clean": "turbo run clean",
"dev": "TSUP_SKIP_DTS=true turbo run dev --concurrency 100 --filter !@latticexyz/explorer",
"clean": "turbo run clean --concurrency=100%",
"dev": "TSUP_SKIP_DTS=true turbo run dev --concurrency=100% --filter !@latticexyz/explorer",
"dist-tag-rm": "pnpm recursive exec -- sh -c 'npm dist-tag rm $(cat package.json | jq -r \".name\") $TAG || true'",
"docs:generate:api": "tsx scripts/render-api-docs.ts",
"fix:package-json": "sort-package-json package.json 'packages/*/package.json' 'templates/*/package.json' 'templates/*/packages/*/package.json' 'examples/*/package.json' 'examples/*/packages/*/package.json' 'e2e/*/package.json' 'e2e/*/packages/*/package.json' 'docs/package.json' 'test/*/package.json'",
Expand Down
Loading