Skip to content

Commit

Permalink
test workflow update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
madhu-355 committed Jul 29, 2024
1 parent cd050ca commit 065de30
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/e2e-cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Cypress.io
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"

- name: Install dependencies
run: npm install
working-directory: e2e-tests

- name: Run Cypress tests
uses: cypress-io/github-action@v6.5.0
with:
working-directory: e2e-tests
Expand All @@ -25,12 +34,12 @@ jobs:
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
path: e2e-tests/cypress/screenshots
if-no-files-found: ignore

- name: Upload Cypress videos
uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: cypress/videos
path: e2e-tests/cypress/videos
if-no-files-found: ignore

0 comments on commit 065de30

Please sign in to comment.