Skip to content

Commit

Permalink
adding github action for cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshParmar11 committed Aug 20, 2022
1 parent 96bc45b commit 984fe2c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Cypress Tests

on: [push]

jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v4
with:
start: npm start
wait-on: "http:https://localhost:3000"
browser: chrome

0 comments on commit 984fe2c

Please sign in to comment.