Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroGlezC authored Apr 27, 2024
1 parent 227cfb0 commit 8f6eddc
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 8f6eddc

Please sign in to comment.