Skip to content

ci: ok

ci: ok #2

Workflow file for this run

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: daily-diet
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:
JWT_SECRET: secret-for-testing
DATABASE_URL: "postgresql://postgres:docker@localhost:5432/daily-diet?schema=public"