build(deps-dev): bump eslint from 8.57.0 to 9.13.0 #12985
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit test | |
on: [push, pull_request] | |
jobs: | |
test: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bahmutov/npm-install@v1 | |
- name: Run unit test | |
run: | | |
npm run test:cov | |
env: | |
CI: 'true' | |
PORT: 3000 | |
APP_SECRET: esse-incididunt-qui-deserunt-est-non-ullamco-voluptate-mollit-laboris-nostrud-deserunt-sit-exercitation-et-labore | |
POSTGRES_DB: authentication | |
POSTGRES_USER: admin | |
POSTGRES_PASSWORD: contraseña | |
DATABASE_URL: postgres://admin:contraseña@localhost:5432/authentication | |
ALLOWED_ORIGINS: '*' | |
# - name: Monitor coverage | |
# if: ${{ github.actor != 'dependabot[bot]' }} | |
# uses: slavcodev/coverage-monitor-action@1.7.0 | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
# coverage_path: coverage/clover.xml | |
# threshold_alert: 50 | |
# threshold_warning: 80 | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: unit-coverage | |
path: coverage |