Skip to content

Commit

Permalink
swap out npx calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tnrich committed Jan 31, 2025
1 parent 45b68e8 commit 765b9de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# just perform install
runTests: false
- name: Install Playwright
run: npx playwright install chromium --with-deps
run: yarn playwright install chromium --with-deps
- uses: mansagroup/nrwl-nx-action@v3
with:
targets: e2e-playwright
Expand Down
8 changes: 4 additions & 4 deletions packages/bounce-loader/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"command": "cd packages/bounce-loader && yarn vite"
},
"launch-e2e": {
"command": "nx run bounce-loader:start & cd packages/bounce-loader && npx playwright test --ui"
"command": "nx run bounce-loader:start & cd packages/bounce-loader && yarn playwright test --ui"
},
"launch-e2e2": {
"command": "npx concurrently -k \"wait-on tcp:4200 && cd packages/bounce-loader && yarn cypress open --e2e --browser chrome\" \"nx run bounce-loader:start\""
"command": "yarn concurrently -k \"wait-on tcp:4200 && cd packages/bounce-loader && yarn cypress open --e2e --browser chrome\" \"nx run bounce-loader:start\""
},
"e2e-playwright": {
"command": "cd packages/bounce-loader && npx playwright test"
"command": "cd packages/bounce-loader && yarn playwright test"
},
"e2e2": {
"command": "npx concurrently --kill-others --kill-signal SIGKILL --success first \"npx wait-on tcp:4200 && cd packages/bounce-loader && yarn cypress run --record --config --e2e\" \"nx run bounce-loader:start\" "
"command": "yarn concurrently --kill-others --kill-signal SIGKILL --success first \"yarn wait-on tcp:4200 && cd packages/bounce-loader && yarn cypress run --record --config --e2e\" \"nx run bounce-loader:start\" "
},
"test": {
"command": "cd packages/bounce-loader && yarn vitest run --changed --config vite.config.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/ove/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
}
},
"launch-e2e-playwright": {
"command": "nx run ove:start:ci & cd packages/ove && npx playwright test --ui"
"command": "nx run ove:start:ci & cd packages/ove && yarn playwright test --ui"
},
"e2e": {
"executor": "@nx/cypress:cypress",
Expand Down

0 comments on commit 765b9de

Please sign in to comment.