Skip to content

Commit

Permalink
fix: cypress start commands
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliimelnychuk committed Dec 14, 2022
1 parent 26789e3 commit f79e9fd
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 85 deletions.
2 changes: 1 addition & 1 deletion examples/nextjs/cypress-runner.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

node ../../packages/cypress-runner --parallel --record --key ${CURRENTS_RECORD_KEY} --ci-build-id $(date +%s)
yarn cypress-runner --parallel --record --key ${CURRENTS_RECORD_KEY} --ci-build-id $(date +%s)
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"cypress": "bash ./cypress-runner.sh"
},
"dependencies": {
"cypress": "^12.1.0",
Expand All @@ -21,7 +22,6 @@
"@types/node": "^17.0.12",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"cypress": "^12.0.2",
"eslint": "7.32.0",
"eslint-config-custom": "*",
"start-server-and-test": "^1.14.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/test/run-from-github-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export GITHUB_RUN_ATTEMPT=
export GITHUB_REPOSITORY=
export GITHUB_REPOSITORY=

node ../../packages/cypress-runner --parallel --record --key ${CURRENTS_RECORD_KEY} --ci-build-id $(date +%s)
yarn cypress-runner --parallel --record --key ${CURRENTS_RECORD_KEY} --ci-build-id $(date +%s)
Loading

0 comments on commit f79e9fd

Please sign in to comment.