routes to upload photo to an S3 or local upload the project photos #104
Workflow file for this run
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: [push] | |
jobs: | |
run-e2e-tests: | |
name: Run E2E Tests | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: bitnami/postgresql | |
ports: | |
- 8080:5432 | |
env: | |
POSTGRESQL_USERNAME: docker | |
POSTGRESQL_PASSWORD: docker | |
POSTGRESQL_DATABASE: orange-db | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- uses: actions/setup-node@v4 | |
- run: pnpm install | |
- run: pnpm prisma generate | |
- run: pnpm run test:e2e | |
env: | |
DATABASE_URL: "postgresql://docker:docker@localhost:8080/orange-db?schema=public" | |
JWT_SECRET: "oPedroEhFeraMsmCaraEhDiferenciado" | |
FRONTEND_URL: "FRONTEND_URL" | |