build(deps-dev): bump @typescript-eslint/eslint-plugin from 5.62.0 to 8.12.2 #13020
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 |