build(deps-dev): bump mocha from 10.7.3 to 11.0.1 in /e2e-test #1982
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E testing | |
on: | |
push: | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# Chrome 84.0 is the oldest version available on selenium/standalone-xxx. | |
# Firefox 78.0 is also the oldest available on selenium/standalone-xxx. | |
# [Purposes] | |
# fetch() upload streaming: the latest version of Chrome used in this test | |
# Non fetch()-upload streaming: the other browser | |
# Streaming download: All browser with disable_service_worker=false | |
# Non-streaming download: disable_service_worker=true | |
# Fallback to posting chunks of ReadableStream over MessageChannel: chrome:84.0 | |
# "selenium/standalone-${e2e_docker_image_fragment}" | |
# Why fragment? These short names are more readable in GitHub UI | |
- e2e_docker_image_fragment: chrome:115.0 | |
e2e_service_worker_disable: false | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: chrome:84.0 | |
e2e_service_worker_disable: false | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: firefox:118.0 | |
e2e_service_worker_disable: false | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: firefox:78.0 | |
e2e_service_worker_disable: false | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: firefox:118.0 | |
e2e_service_worker_disable: true | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: firefox:78.0 | |
e2e_service_worker_disable: true | |
e2e_block_popup: false | |
- e2e_docker_image_fragment: firefox:118.0 | |
e2e_service_worker_disable: false | |
e2e_block_popup: true | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
node-version: 20.x | |
cache: 'npm' | |
cache-dependency-path: | | |
package-lock.json | |
e2e-test/package-lock.json | |
- name: Install dependencies | |
run: | | |
set -eu | |
npm ci & | |
(cd e2e-test && npm ci) & | |
wait | |
- name: E2E test (${{ matrix.e2e_docker_image_fragment }}) | |
run: cd e2e-test && E2E_DOCKER_IMAGE=selenium/standalone-${{ matrix.e2e_docker_image_fragment }} E2E_DISABLE_SERVICE_WORKER=${{ matrix.e2e_service_worker_disable }} E2E_BLOCK_POPUP=${{ matrix.e2e_block_popup }} npm start |