Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E tests with cypress #802

Merged
merged 18 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,21 @@ jobs:
- uses: ./.github/actions/prepare-playground
- run: npx nx affected --target=lint
- run: npx nx affected --target=typecheck
test:
test-unit:
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare-playground
- run: node --expose-gc node_modules/nx/bin/nx affected --target=test --configuration=ci
test-e2e:
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare-playground
- run: ./node_modules/.bin/cypress install --force
- run: npx nx affected --target=e2e --configuration=ci
build:
runs-on: ubuntu-latest
needs: [lint-and-typecheck]
Expand All @@ -40,7 +48,7 @@ jobs:
deploy_docs:
if: github.ref == 'refs/heads/trunk' && github.event_name == 'push'
# Add a dependency to the build job
needs: [test, build]
needs: [test-unit, test-e2e, build]
name: 'Deploy doc site'

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
Expand Down
Loading
Loading