Skip to content

run-e2e

run-e2e #1

Workflow file for this run

on:
workflow_call:
jobs:
benchmarks-sh:
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
container:
image: cimg/node:22.13-browsers
steps:
- name: Setup environment
uses: metamask/github-tools/.github/actions/setup-environment@caching
with:
should-cache-restore: ${{ vars.USE_CACHING }}
- name: Download artifact prep-build-test-webpack
uses: actions/download-artifact@v4
with:
path: ./dist/
pattern: prep-build-test-webpack
merge-multiple: true
- name: Configure Xvfb
run: Xvfb -ac :99 -screen 0 1280x1024x16 &
- name: test:e2e:chrome:webpack
run: yarn test:e2e:chrome:webpack
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: webpack-e2e
path: |
test-artifacts
test/test-results/e2e
benchmarks-ubuntu-latest:
runs-on: ubuntu-latest
container:
image: cimg/node:22.13-browsers
steps:
- name: Setup environment
uses: metamask/github-tools/.github/actions/setup-environment@caching
with:
should-cache-restore: ${{ vars.USE_CACHING }}
- name: Download artifact prep-build-test-webpack
uses: actions/download-artifact@v4
with:
path: ./dist/
pattern: prep-build-test-webpack
merge-multiple: true
- name: Configure Xvfb
run: Xvfb -ac :99 -screen 0 1280x1024x16 &
- name: test:e2e:chrome:webpack
run: yarn test:e2e:chrome:webpack
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: webpack-e2e-ubuntu-latest
path: |
test-artifacts
test/test-results/e2e