Skip to content

Adiciona testes

Adiciona testes #13

Workflow file for this run

name: "Tester ⚗️"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- name: 📚 Checkout
uses: actions/checkout@v2
- name: 🟢 Setup Node
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: 🔧 Install dependencies
run: npm install
- name: 🚀 Run tests with coverage
run: npx vitest run --coverage
- name: 📊 Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-report-${{ matrix.node-version }}
path: coverage/
if-no-files-found: warn
compression-level: 6
overwrite: true
include-hidden-files: false