Skip to content

Commit

Permalink
enable agents
Browse files Browse the repository at this point in the history
  • Loading branch information
juristr committed Sep 17, 2024
1 parent b2eb68f commit d87286b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ jobs:
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
version: 9.9.0 # temporary fix for Nx Cloud PNPM version detection
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
Expand All @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions e2e/web/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
"@playwright/test": "^1.44.0",
"nx": "19.7.3",
"@nx/workspace": "19.7.3"
}
},
"packageManager": "[email protected]"
}

0 comments on commit d87286b

Please sign in to comment.