chore: temp disable parallel due to cache issues

This commit is contained in:
DarkSky 2022-08-09 10:22:52 +08:00 committed by GitHub
parent b3b4a587c9
commit e50502417b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,16 +17,18 @@ jobs:
secrets: inherit secrets: inherit
with: with:
main-branch-name: develop main-branch-name: develop
number-of-agents: 2 # number-of-agents: 2
parallel-commands: | parallel-commands: |
pnpm exec nx-cloud record -- pnpm exec nx format:check pnpm exec nx-cloud record -- pnpm exec nx format:check
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record' || '' }} pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record' || '' }}
parallel-commands-on-agents: |
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
pnpm exec nx affected --target=build --parallel=2 pnpm exec nx affected --target=build --parallel=2
# parallel-commands-on-agents: |
# pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
# pnpm exec nx affected --target=build --parallel=2
agents: # agents:
name: Nx Cloud - Agents # name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6 # uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.6
with: # with:
number-of-agents: 2 # number-of-agents: 2