Integração contínua Cypress + GitHub Actions #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cypress-ci | |
on: | |
pull_request: | |
branch: | |
- 'main' | |
- 'feature/upgrade-cypress' | |
jobs: | |
cypress-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Instala as dependências, cria configs e executa testes | |
run: cd src/ && npm install && npx cypress run --spec "cypress/e2e/**/*.js" |