From 91a52a0e6f1f194c7f186cebe967dc1f19ad46f5 Mon Sep 17 00:00:00 2001 From: William Alves Da Silva Date: Thu, 7 Dec 2023 05:18:53 -0300 Subject: [PATCH] Create ci_cypress.yml --- .github/workflows/ci_cypress.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci_cypress.yml diff --git a/.github/workflows/ci_cypress.yml b/.github/workflows/ci_cypress.yml new file mode 100644 index 0000000..391a469 --- /dev/null +++ b/.github/workflows/ci_cypress.yml @@ -0,0 +1,28 @@ +name: Cypress Tests + +on: + push: + branches: + - main # ajuste conforme o nome de sua branch principal + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + + - name: Install Dependencies + run: npm install + + - name: Install Cypress + run: npm install cypress --save-dev + + - name: Run Cypress Tests + run: npm run cypress:run