From 922030cdb4896b7d2e06f50ab55b64642ad89550 Mon Sep 17 00:00:00 2001 From: sanjay Date: Fri, 9 Feb 2024 10:45:25 +0530 Subject: [PATCH] add yml file to run casees on github action --- .github/workflows/apiRunner.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/apiRunner.yml diff --git a/.github/workflows/apiRunner.yml b/.github/workflows/apiRunner.yml new file mode 100644 index 0000000..3632157 --- /dev/null +++ b/.github/workflows/apiRunner.yml @@ -0,0 +1,20 @@ +name: Cypress Tests + +on: + push: + branches: + - main + +jobs: + cypress-tests: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Install dependencies + run: npm install + + - name: Run Cypress tests + run: npx cypress run --headless --browser chrome