File tree Expand file tree Collapse file tree 1 file changed +1
-33
lines changed
Expand file tree Collapse file tree 1 file changed +1
-33
lines changed Original file line number Diff line number Diff line change 2727 runs-on : ubuntu-latest
2828
2929 env :
30- TERM : xterm
3130 SKIP_PREFLIGHT_CHECK : true
3231 CYPRESS_USER_EMAIL : ${{secrets.CYPRESS_USER_EMAIL}}
3332 CYPRESS_USER_PASSWORD : ${{secrets.CYPRESS_USER_PASSWORD}}
4746 - name : Checkout code
4847 uses : actions/checkout@v4
4948
50- - name : Debug - Check if secrets are loaded
51- run : |
52- echo "Checking if CYPRESS_USER_EMAIL is set..."
53- if [ -z "$CYPRESS_USER_EMAIL" ]; then
54- echo "❌ CYPRESS_USER_EMAIL is NOT set or empty"
55- exit 1
56- else
57- echo "✅ CYPRESS_USER_EMAIL is set (value: ${CYPRESS_USER_EMAIL:0:3}***@***)"
58- fi
59-
60- echo "Checking if CYPRESS_USER_PASSWORD is set..."
61- if [ -z "$CYPRESS_USER_PASSWORD" ]; then
62- echo "❌ CYPRESS_USER_PASSWORD is NOT set or empty"
63- exit 1
64- else
65- echo "✅ CYPRESS_USER_PASSWORD is set (length: ${#CYPRESS_USER_PASSWORD} characters)"
66- fi
67-
6849 - name : Install dependencies
6950 run : npm ci
7051
7556 run : npm run install:examples
7657
7758 - name : Run integration test (CRA)
78- run : |
79- CYPRESS_USER_EMAIL="${{secrets.CYPRESS_USER_EMAIL}}" \
80- CYPRESS_USER_PASSWORD="${{secrets.CYPRESS_USER_PASSWORD}}" \
81- npm run test:cra
82- continue-on-error : true
83-
84- - name : Upload CRA test artifacts
85- uses : actions/upload-artifact@v4
86- if : always()
87- with :
88- name : cra-test-results
89- path : |
90- cypress/screenshots/
91- retention-days : 30
59+ run : npm run test:cra
9260
9361 - name : Run integration test (NextJS)
9462 run : npm run test:nextjs
You can’t perform that action at this time.
0 commit comments