diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index ddc5581..fa016bd 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -23,6 +23,9 @@ jobs: with: version: 9 run_install: false + + - run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build" + - name: Install dependencies run: pnpm install - name: Install Playwright Browsers @@ -31,9 +34,9 @@ jobs: run: | pnpm format:check pnpm lint - pnpm exec nx run-many -t test build e2e - # - name: Run Playwright tests - # run: pnpm --filter "@tasker/e2e-web" e2e + pnpm exec nx run-many -t test build + - name: Run Playwright tests + run: pnpm --filter "@tasker/e2e-web" e2e - uses: actions/upload-artifact@v4 if: always() with: diff --git a/e2e/web/playwright.config.ts b/e2e/web/playwright.config.ts index ccfbcdc..85ef727 100644 --- a/e2e/web/playwright.config.ts +++ b/e2e/web/playwright.config.ts @@ -33,8 +33,7 @@ export default defineConfig({ webServer: { timeout: 30_000, - // command: 'pnpm --filter "@tasker/web" start', - command: 'pnpm nx start @tasker/web', + command: 'pnpm --filter "@tasker/web" start', url: 'http://localhost:3000', reuseExistingServer: true, },