Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testes unitários para os filtros com automação #105

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Testes Unitários Front

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Verificar o repositório
uses: actions/checkout@v3

- name: Limpar cache npm
run: npm cache clean --force

- name: Configurar Node.js
uses: actions/setup-node@v3
with:
node-version: '18.19.1'

- name: Instalar dependências
run: npm install

- name: Verificar diretório de trabalho
run: pwd

- name: Listar arquivos no diretório
run: ls -al

- name: Verificar scripts disponíveis
run: npm run

- name: Rodar testes
run: npm test
Loading