Skip to content

Commit

Permalink
chore: explicit run e2e type check (#9668)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Nov 5, 2024
1 parent 6e26096 commit da3ae1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
continue-on-error: true
- uses: taiga-family/ci/actions/setup/[email protected]

- run: npx nx type-check demo-playwright
- name: Building demo-app of git-branch without cache
run: npx nx build demo # Don't use prerender please, because it's flaky for e2e

Expand Down
14 changes: 5 additions & 9 deletions projects/demo-playwright/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,15 @@
"e2e": {
"executor": "nx:run-commands",
"options": {
"command": "playwright test --config {projectRoot}/playwright.config.ts"
},
"dependsOn": [
{
"target": "type-check",
"params": "ignore"
}
]
"command": "playwright test --config {projectRoot}/playwright.config.ts",
"forwardAllArgs": true
}
},
"e2e-ui": {
"executor": "nx:run-commands",
"options": {
"command": "nx e2e {projectName} -- --ui --debug --update-snapshots"
"command": "playwright test --config {projectRoot}/playwright.config.ts --ui --debug --update-snapshots",
"forwardAllArgs": true
}
}
}
Expand Down

0 comments on commit da3ae1c

Please sign in to comment.