Salvar informacoes no cypress cloud após a execução do teste e2e com relatorio #6
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: Salvar informacoes no cypress cloud após a execução do teste e2e com relatorio | |
on: | |
workflow_run: | |
workflows: ['Testes e2e com relatorio'] | |
types: | |
- completed | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install | |
- name: Cypress run | |
uses: cypress-io/github-action@v6 | |
with: | |
build: npm run terminal # Salva as informações no cypress cloud | |
record: false | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} |