diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d7478d0..61c6d33 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -36,5 +36,5 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v4 with: - build: pnpm build + build: pnpm build:test start: pnpm start diff --git a/package.json b/package.json index 9b03994..c28ad3d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "scripts": { "dev": "next", "build": "next build", + "build:test": "NEXT_PUBLIC_API_MOCKING=enabled next build", "analyze": "ANALYZE=true pnpm build", "start": "next start", "test": "jest",