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