Skip to content

Commit

Permalink
Implement Cypress-recommended workflow by replacing test.yml with cyp…
Browse files Browse the repository at this point in the history
…ress.yml for enhanced E2E testing setup
  • Loading branch information
lokeshwar777 committed May 31, 2024
1 parent 9570cf8 commit a2bfe6c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml → .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Cypress tests

on: push

name: Cypress Tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -74,12 +72,12 @@ jobs:
config-file: cypress.config.js
group: "GitHub Actions"
install-command: npm install --legacy-peer-deps
build: npm run build
# build: npm run build
start: npm run dev
wait-on: "http://localhost:5173"
browser: chrome
parallel: true
record: true
parallel: true
tag: node-${{ matrix.node }}
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
Expand Down

0 comments on commit a2bfe6c

Please sign in to comment.