Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 436b007

Browse files
committed
Upload e2e output as artifact when tests fail
1 parent b92ee6b commit 436b007

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
- run: npx serve -l tcp://localhost:3000 build &
4141
- run: npm run test:e2e:headless
4242

43+
- uses: actions/upload-artifact@master
44+
if: ${{ failure() }}
45+
with:
46+
name: e2e output
47+
path: e2e/output/
48+
4349
# upload this build as artifact to current Action
4450
- uses: actions/upload-artifact@master
4551
with:

0 commit comments

Comments
 (0)