Skip to content

perf(cherry-pick): use an interstitial page to load popup.html; load scripts using defered script tags (#26555) #5115

perf(cherry-pick): use an interstitial page to load popup.html; load scripts using defered script tags (#26555)

perf(cherry-pick): use an interstitial page to load popup.html; load scripts using defered script tags (#26555) #5115

Workflow file for this run

# WARNING! It is currently being investigated how to make this faster
# DO NOT blindly copy this workflow, not noticing the slow down,
# because suddenly our tests will take hours to pass CI.
# Hopefully this comment here will help prevent that.
# https://github.com/MetaMask/metamask-extension/issues/25680
name: Run unit tests
on:
pull_request:
types: [opened,reopened,synchronize]
jobs:
test-unit-jest:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup environment
uses: ./.github/actions/setup-environment
- name: test:coverage:jest:dev
run: yarn test:coverage:jest:dev
- name: test:coverage:jest
run: yarn test:coverage:jest
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true