Update end-to-end-tests.yaml

pull/28217/head
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
1 changed files with 5 additions and 1 deletions

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: