Skip to content

Commit

Permalink
refactor: move cypress fixes back over to main workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
airjp73 committed Jun 9, 2024
1 parent 06fe006 commit a9ef919
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 72 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/cypress.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,30 @@ jobs:

- name: Vitest
run: bun run vitest:run

- name: Verify Cypress
env:
CI: 1
run: |
bunx cypress verify
bunx cypress info
bunx cypress version
bunx cypress version --component package
bunx cypress version --component binary
bunx cypress version --component electron
bunx cypress version --component node
- name: Cypress tests
run: |
cd apps/test-app
bun run test
env:
TERM: xterm

# Save screenshots as test artifacts
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: cypress/screenshots

0 comments on commit a9ef919

Please sign in to comment.