Skip to content

fix: Adicionando novo comando no package.json #29

fix: Adicionando novo comando no package.json

fix: Adicionando novo comando no package.json #29

Workflow file for this run

name: Tests e2e
on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']
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 test
record: false
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: relatorio-de-testes
path: cypress/reports/html
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}