diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83979fdb5..fcf272f63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,11 @@ jobs: run: | jlpm run build:test jlpm run test:ci + - uses: actions/upload-artifact@v2 + if: ${{ always() }} + with: + name: test-artifacts + path: app/artifacts build: needs: [integrity] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a5d80aa3..7a292bcb9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,6 +60,11 @@ jobs: run: | jlpm run build:test jlpm run test:ci + - uses: actions/upload-artifact@v2 + if: ${{ always() }} + with: + name: test-artifacts + path: app/artifacts build: needs: [integrity] diff --git a/app/test/smoke.spec.ts b/app/test/smoke.spec.ts index 1749447d3..8351b6c1e 100644 --- a/app/test/smoke.spec.ts +++ b/app/test/smoke.spec.ts @@ -7,7 +7,9 @@ describe('Smoke', () => { beforeAll(async () => { jest.setTimeout(200000); browser = await chromium.launch({ slowMo: 1000 }); - context = await browser.newContext({ recordVideo: { dir: 'videos/' } }); + context = await browser.newContext({ + recordVideo: { dir: 'artifacts/videos/' } + }); }); afterAll(async () => {