This commit is contained in:
DarkSky 2022-08-08 16:37:04 +08:00
parent 4f01af87a4
commit de9e8e36d4

View File

@ -12,6 +12,7 @@ concurrency:
env:
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.NX_CYPRESS_KEY }}
jobs:
main:
@ -23,7 +24,7 @@ jobs:
number-of-agents: 2
parallel-commands: |
pnpm exec nx-cloud record -- pnpm exec nx format:check
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record --key ' + secrets.NX_CYPRESS_KEY || '' }}
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=build --parallel=2