From f51b646430178d6b30a602a4a6cb67429cb2095c Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 8 Jun 2025 13:30:12 +0200 Subject: [PATCH] Copy static and build files int the standalone directory --- .github/workflows/playwright.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index b3772b5..7b863f2 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -21,7 +21,10 @@ jobs: - name: Install dependencies run: npm install -g pnpm && pnpm install - name: Build the service that will be tested - run: pnpm run build + run: | + pnpm run build + cp -r public .next/standalone/ + cp -r .next/static .next/standalone/.next/ - name: Install Playwright Browsers run: pnpm exec playwright install --with-deps - name: Run the service that will be tested