build(chrome): update the pinned browser version to 133.0.6891.0 #5084
Workflow file for this run
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
# This workflow will run headful selenium tests. | |
name: Selenium tests | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: 'main' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
selenium: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version-file: '.nvmrc' | |
cache: npm | |
- uses: google/wireit@83d7f8bed70b7bcfc40f4b9f54f4b7485753991b # setup-github-actions-caching/v2.0.1 | |
- name: Install and build npm dependencies | |
run: npm ci | |
# Install chrome, chromedriver and headless shell is required to keep them cached. | |
- name: Install all chrome binaries if needed | |
uses: ./.github/actions/setup-chrome-binaries | |
- name: Get chrome path | |
id: browser | |
run: node tools/install-browser.mjs --chrome --github | |
- name: Get chromedriver path | |
id: driver | |
run: node tools/install-browser.mjs --chromedriver --github | |
- name: Run Selenium test | |
timeout-minutes: 20 | |
run: > | |
xvfb-run --auto-servernum | |
node tests_external/selenium.mjs |