From 635741d3ab3067a2e69f646115efffd161fe71e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Batista?= Date: Mon, 8 Jun 2026 16:47:33 -0300 Subject: [PATCH] feat(ci-e2e): implementando teste e2e em CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat(ci-e2e): implementando teste e2e em CI Co-Authored-By: João Batista --- .github/workflows/run-e2e-tests.yml | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/run-e2e-tests.yml diff --git a/.github/workflows/run-e2e-tests.yml b/.github/workflows/run-e2e-tests.yml new file mode 100644 index 0000000..3719d6c --- /dev/null +++ b/.github/workflows/run-e2e-tests.yml @@ -0,0 +1,36 @@ +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: docker + POSTGRESQL_PASSWORD: docker + POSTGRESQL_DATABASE: apisolid + + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + + - run: pnpm install --frozen-lockfile + + - run: pnpm run test:e2e + env: + JWT_SECRET: testing + DATABASE_URL: 'postgresql://docker:docker@localhost:5432/apisolid?schema=public'