Update end-to-end-tests.yaml

This commit is contained in:
Michael Telatynski 2023-11-21 21:47:11 +00:00 committed by GitHub
parent 0f1f056503
commit 1529099143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,14 +82,18 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
cache: "yarn" cache: "yarn"
cache-dependency-path: matrix-react-sdk/yarn.lock
- name: Install dependencies - name: Install dependencies
working-directory: matrix-react-sdk
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Install Playwright browsers - name: Install Playwright browsers
working-directory: matrix-react-sdk
run: yarn playwright install --with-deps run: yarn playwright install --with-deps
- name: Run Playwright tests - name: Run Playwright tests
working-directory: matrix-react-sdk
run: yarn playwright test --shard ${{ matrix.ci_node_index }}/${{ matrix.ci_node_total }} run: yarn playwright test --shard ${{ matrix.ci_node_index }}/${{ matrix.ci_node_total }}
- name: Upload blob report to GitHub Actions Artifacts - name: Upload blob report to GitHub Actions Artifacts
@ -97,7 +101,7 @@ jobs:
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: all-blob-reports name: all-blob-reports
path: blob-report path: matrix-react-sdk/blob-report
retention-days: 1 retention-days: 1
report: report: