Skip to content

Merge pull request #1 from ArthurPMachado/e2e/actions #2

Merge pull request #1 from ArthurPMachado/e2e/actions

Merge pull request #1 from ArthurPMachado/e2e/actions #2

Workflow file for this run

name: Run E2E Tests

Check failure on line 1 in .github/workflows/run-e2e-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-e2e-tests.yml

Invalid workflow file

`pull_requests` is not a valid event name
on: [pull_requests]
jobs:
run-e2e-tests:
name: Run E2E Tests
runs-on: ubuntu-latest
services:
postgres:
image: bitnami/postgresql
ports:
- 5432:5432
environment:
- POSTGRESQL_USERNAME=docker
- POSTGRESQL_PASSWORD=docker
- POSTGRESQL_DATABASE=apisolidignite
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: npm ci
- run: npm run test:e2e
env:
JWT_SECRET: testing
DATABASE_URL: "postgresql://docker:docker@localhost:5432/apisolidignite?schema=public"