We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21e568 commit 88d190dCopy full SHA for 88d190d
.github/workflows/integration.yml
@@ -57,12 +57,10 @@ jobs:
57
- name: Install examples
58
run: npm run install:examples
59
60
- - name: Start CRA app in background
+ - name: Start servers
61
run: |
62
- npm run start:cra > app.log 2>&1 &
63
- sleep 10
64
- echo "=== Dumping app.log ==="
65
- tail -n 50 app.log
+ npm run start:api > api.log 2>&1 &
+ npm run start:cra > cra.log 2>&1 &
66
67
- name: Wait for app to be reachable
68
@@ -77,8 +75,7 @@ jobs:
77
75
done
78
76
79
- name: Run integration test (CRA)
80
- run: |
81
- npx start-server-and-test start:api 3001 start:cra http-get://127.0.0.1:3000 "npm run cypress:run -- --browser chrome --headless"
+ run: npm run cypress:run -- --browser chrome --headless
82
env:
83
CI: true
84
0 commit comments