Skip to content

chore(main): release chromium-bidi 0.8.0 #4036

chore(main): release chromium-bidi 0.8.0

chore(main): release chromium-bidi 0.8.0 #4036

Workflow file for this run

# This workflow will run headful selenium tests.
name: WebdriverIO 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:
webdriverio:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
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
- name: Setup cache for browser binaries
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.cache/chromium-bidi
key: ${{ runner.os }}-browsers-${{ hashFiles('.browser') }}) }}
- name: Install pinned browser
id: browser
run: node tools/install-browser.mjs --github
- name: Install chromedriver for the pinned browser
id: driver
run: node tools/install-browser.mjs --chromedriver --github
- name: Run WebdriverIO test
timeout-minutes: 20
run: >
xvfb-run --auto-servernum
node tests_external/webdriverio.mjs
env:
BROWSER_BIN: ${{ steps.browser.outputs.executablePath }}
CHROMEDRIVER_BIN: ${{ steps.driver.outputs.executablePath }}