Upload artifacts

This commit is contained in:
Jeremy Tuloup 2021-01-28 16:05:53 +01:00
parent 2db4d689d2
commit 486c670b52
3 changed files with 13 additions and 1 deletions

View File

@ -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]

View File

@ -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]

View File

@ -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 () => {