Skip to content

Commit

Permalink
cambios 9
Browse files Browse the repository at this point in the history
  • Loading branch information
jul1oCesar0 committed Nov 6, 2024
1 parent 30ade1f commit bf1dc54
Show file tree
Hide file tree
Showing 31 changed files with 19,940 additions and 397 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/jest.yaml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/vitest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Vitest CI

on:
push:
branches:
- main # Despliegue en producción (cambiar 'master' a 'main' si es tu rama principal)
- julio # Rama de desarrollo
- irving # Rama de desarrollo
- jesus # Rama de desarrollo
- feature/* # Cualquier rama feature
pull_request:
branches:
- main # Rama de producción para las solicitudes de pull
- julio # Rama de desarrollo para las solicitudes de pull
- irving # Rama de desarrollo para las solicitudes de pull
- jesus # Rama de desarrollo para las solicitudes de pull
workflow_dispatch: # Activación manual opcional

jobs:
vitest:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3 # Clonar el repositorio

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Configurar la versión de Node.js

- name: Install dependencies
run: npm install --legacy-peer-deps # Instalar dependencias del proyecto

- name: Install Vite (si es necesario)
run: npm install --save-dev vite # Asegurarse de que Vite esté instalado

- name: Install Vitest
run: npm install --save-dev vitest # Instalar Vitest como dependencia de desarrollo

- name: Run Vitest
run: npm run test:unit # Ejecutar las pruebas de Vitest
4 changes: 2 additions & 2 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1730463804558" clover="3.2.0">
<project timestamp="1730463804558" name="All files">
<coverage generated="1730932419650" clover="3.2.0">
<project timestamp="1730932419650" name="All files">
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/>
</project>
</coverage>
Loading

0 comments on commit bf1dc54

Please sign in to comment.