implements global error handling #4
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: Run E2E Tests | |
on: [pull_request] | |
jobs: | |
run-e2e-tests: | |
name: Run E2E Tests | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: bitnami/postgresql | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRESQL_USERNAME: postgres | |
POSTGRESQL_PASSWORD: docker | |
POSTGRESQL_DATABASE: find-a-friend | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- run: npm ci | |
- run: npm run ci:gen-jwt-keys | |
- run: npm run test:e2e | |
env: | |
DATABASE_URL: "postgresql://postgres:docker@localhost:5432/find-a-friend?schema=public" |