mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 22:38:56 +08:00
chore: e2e record
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
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
|
pnpm e2e:ci ${{ github.ref == 'refs/heads/develop' && '--record --key ' + secrets.NX_CYPRESS_KEY || '' }}
|
||||||
parallel-commands-on-agents: |
|
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
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import { defineConfig } from 'cypress';
|
import { defineConfig } from 'cypress';
|
||||||
|
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
|
projectId: 'r1wrqr',
|
||||||
e2e: {
|
e2e: {
|
||||||
supportFile: './src/support/index.ts',
|
supportFile: './src/support/index.ts',
|
||||||
specPattern: './src/integration',
|
specPattern: './src/integration',
|
||||||
|
|||||||
Reference in New Issue
Block a user