test(): test dynamic max workers and improve CI (#13516)

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* Clarify test description and improve CI
This commit is contained in:
Adrien de Peretti
2025-09-16 11:11:03 +02:00
committed by GitHub
parent b6d96a1b03
commit 25634b0382
47 changed files with 131 additions and 113 deletions

View File

@@ -10,43 +10,46 @@ jobs:
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
REDIS_URL: redis://localhost:6379
DATABASE_URL: "postgres://postgres:postgres@localhost/cli-test"
NPM_CONFIG_LOGLEVEL: error
NPM_CONFIG_AUDIT: false
NPM_CONFIG_FUND: false
NPM_CONFIG_UPDATE_NOTIFIER: false
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-interval 1s
--health-timeout 10s
--health-retries 10
ports:
- 6379:6379
postgres:
image: postgres
image: postgres:15-alpine
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: cli-test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-interval 1s
--health-timeout 10s
--health-retries 10
ports:
- 5432:5432
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 100
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
uses: ./.github/actions/cache-deps
@@ -65,7 +68,7 @@ jobs:
run: corepack enable
- name: Install new app dependencies (via resolutions)
run: rm -f package-lock.json && yarn install --no-immutable
run: rm -f package-lock.json && yarn install --inline-builds --silent
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
working-directory: ../cli-test