Copy static and build files int the standalone directory
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 50s
Add copyright notice / copyright_notice (pull_request) Successful in 1m0s
Playwright Tests / test (pull_request) Successful in 4m47s
Build Nginx-based docker image / build-static-assets (push) Successful in 5m29s

This commit is contained in:
Manuel Bustillo 2025-06-08 13:30:12 +02:00
parent f3799a26b6
commit f51b646430

View File

@ -21,7 +21,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: npm install -g pnpm && pnpm install run: npm install -g pnpm && pnpm install
- name: Build the service that will be tested - 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 - name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps run: pnpm exec playwright install --with-deps
- name: Run the service that will be tested - name: Run the service that will be tested