From 8f6eddcb03fb7ee0cb4274141a2f895ae831ea09 Mon Sep 17 00:00:00 2001 From: AGC <158510532+AlvaroGlezC@users.noreply.github.com> Date: Sat, 27 Apr 2024 17:21:02 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66e9fa5..6146662 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,20 +61,22 @@ jobs: uses: actions/setup-node@v4 with: node-version: '21' # Cambia según tu versión de Node.js + - run: npm ci + - run: npm run prettier + - run: npm run linter + - run: npm test + # - name: Install dependencies + # run: npm install - - name: Install dependencies - run: npm install + # - name: Run tests + # run: npm test - - name: Run tests - run: npm test - - - name: Run coverage - run: npm run coverage - timeout-minutes: 0.3 + # - name: Run coverage + # run: npm run coverage - # Si quieres guardar el reporte de cobertura, puedes usar esta sección: - - name: Save coverage report - uses: actions/upload-artifact@v3 - with: - name: coverage-report - path: coverage/ + # # Si quieres guardar el reporte de cobertura, puedes usar esta sección: + # - name: Save coverage report + # uses: actions/upload-artifact@v4 + # with: + # name: coverage-report + # path: coverage/