From 9a07a93a6e9310f43843b94eddfed39e0110c699 Mon Sep 17 00:00:00 2001 From: hughcrt Date: Mon, 11 Mar 2024 16:42:05 -0300 Subject: [PATCH] fix: playwright action --- .github/workflows/playwright.yml | 11 +++++++++++ .gitignore | 3 +++ ops | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 513e5ec9..7b55e28e 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -10,6 +10,17 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies run: npm ci && npx playwright install --with-deps + - name: Start the development server + env: + DATABASE_URL: ${{ secrets.DATABASE_URL }} + JWT_SECRET: ${{ secrets.JWT_SECRET }} + NEXT_PUBLIC_APP_URL: http://localhost:8080 + LUNARY_PUBLIC_KEY: 259d2d94-9446-478a-ae04-484de705b522 + + run: | + npm run dev & + npx wait-on http://localhost:3333 + - name: Run tests run: npx playwright test env: diff --git a/.gitignore b/.gitignore index 01b1ef7b..a1ea41fc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore Dockerfile +# VScode +packages/frontend/Frontend.code-workspace + # Logs _.log diff --git a/ops b/ops index b0d8a8db..24044cde 160000 --- a/ops +++ b/ops @@ -1 +1 @@ -Subproject commit b0d8a8db098b950e0bee9c2c036d1fef6c609283 +Subproject commit 24044cde713b6eed24c6b1c90156d4a7f31b7a04