ci: reduce workflow parallelism for self-hosted runner
This commit is contained in:
parent
a2068407f2
commit
dd71653ad5
1 changed files with 8 additions and 8 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -23,33 +23,33 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v5
|
||||||
with:
|
with:
|
||||||
version: 10.19.0
|
version: 10.19.0
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile --child-concurrency=2
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm lint
|
run: pnpm turbo run lint --concurrency=2
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: pnpm typecheck
|
run: pnpm turbo run typecheck --concurrency=1
|
||||||
|
|
||||||
- name: Test main app
|
- name: Test main app
|
||||||
run: pnpm --filter @xtablo/main test
|
run: pnpm --filter @xtablo/main test -- --maxWorkers=1 --no-file-parallelism
|
||||||
|
|
||||||
- name: Test clients app
|
- name: Test clients app
|
||||||
run: pnpm --filter @xtablo/clients test
|
run: pnpm --filter @xtablo/clients test -- --maxWorkers=1 --no-file-parallelism
|
||||||
|
|
||||||
- name: Typecheck API
|
- name: Typecheck API
|
||||||
run: pnpm --filter @xtablo/api typecheck
|
run: pnpm --filter @xtablo/api typecheck
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue