Skip to content

Commit bc1745c

Browse files
Upload artifacts
1 parent 3b18a40 commit bc1745c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/integration.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
steps:
4747
- name: Checkout code
4848
uses: actions/checkout@v4
49-
with:
50-
ref: ${{ github.event.pull_request.head.sha || github.ref }}
5149

5250
- name: Debug - Check if secrets are loaded
5351
run: |
@@ -81,6 +79,16 @@ jobs:
8179
CYPRESS_USER_EMAIL="${{secrets.CYPRESS_USER_EMAIL}}" \
8280
CYPRESS_USER_PASSWORD="${{secrets.CYPRESS_USER_PASSWORD}}" \
8381
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
8492

8593
- name: Run integration test (NextJS)
8694
run: npm run test:nextjs

0 commit comments

Comments
 (0)