Skip to content

build(chrome): update the pinned browser version to 133.0.6920.0 #5238

build(chrome): update the pinned browser version to 133.0.6920.0

build(chrome): update the pinned browser version to 133.0.6920.0 #5238

Workflow file for this run

# 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
- name: Disable AppArmor
# https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- 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