Skip to content

Commit

Permalink
ci: always run turbo with 100% concurrency (#3281)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Oct 13, 2024
1 parent fb3a34b commit 60c1f80
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
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

0 comments on commit 60c1f80

Please sign in to comment.