chore: e2e record

This commit is contained in:
DarkSky
2022-08-08 16:07:35 +08:00
parent fdeae3d432
commit f3a4df52b0
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -1,6 +1,7 @@
import { defineConfig } from 'cypress';
module.exports = defineConfig({
projectId: 'r1wrqr',
e2e: {
supportFile: './src/support/index.ts',
specPattern: './src/integration',