From 23d50212bfd9d2f87a81869c2694b66916db06fc Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:22:04 +0200 Subject: [PATCH] Update playwright test action --- .github/workflows/playwright.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 178e253..204158d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -16,11 +16,7 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - - name: Enter web app directory - run: cd web-app - - - name: Enter Nix development environment - run: nix develop .#web - - name: Run playwright tests - run: npm run test + run: | + cd web-app + nix develop .#web --command bash -c "npm run test"