feat: basic e2e

This commit is contained in:
DarkSky
2022-08-08 02:30:15 +08:00
parent 45763aa4e3
commit 9dd693e873
17 changed files with 1178 additions and 599 deletions

2
.github/env/.env.e2e vendored Normal file
View File

@@ -0,0 +1,2 @@
NX_LOCAL=true
NX_E2E=true

1
.github/env/.env.local-dev vendored Normal file
View File

@@ -0,0 +1 @@
NX_LOCAL=true

View File

@@ -21,8 +21,9 @@ jobs:
parallel-commands: |
pnpm exec nx-cloud record -- pnpm exec nx format:check
parallel-commands-on-agents: |
pnpm exec nx affected --target=lint --parallel=3 --exclude=components-common,keck,theme
pnpm exec nx affected --target=build --parallel=3
pnpm exec nx affected --target=lint --parallel=2 --exclude=components-common,keck,theme
pnpm exec nx affected --target=build --parallel=2
pnpm e2e:ci
agents:
name: Nx Cloud - Agents