Skip to content

build(deps-dev): bump eslint from 8.23.1 to 8.43.0 #413

build(deps-dev): bump eslint from 8.23.1 to 8.43.0

build(deps-dev): bump eslint from 8.23.1 to 8.43.0 #413

Workflow file for this run

name: tests
on:
pull_request:
branches: [master]
jobs:
test_pull_request:
runs-on: ubuntu-latest
env:
APP_ENV: test
APP_PORT: 3000
DB_HOST: localhost
DB_PORT: 5432
DB_NAME: example_db
DB_USER: root
DB_PASS: example
JWT_ACCESS_TOKEN_EXP_IN_SEC: 3600
JWT_REFRESH_TOKEN_EXP_IN_SEC: 7200
JWT_PUBLIC_KEY_BASE64: ${{ secrets.JWT_PUBLIC_KEY_BASE64 }}
JWT_PRIVATE_KEY_BASE64: ${{ secrets.JWT_PRIVATE_KEY_BASE64 }}
DEFAULT_ADMIN_USER_PASSWORD: example_admin_pass
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- name: Run unit tests
run: npm test
- name: Build the docker-compose stack
run: docker-compose -f docker-compose.yml up -d pgsqldb
- name: Check running containers
run: docker ps -a
- name: Run e2e tests
run: sleep 5 && npm run test:e2e