Skip to content

chore: remove unused utility dependency #2581

chore: remove unused utility dependency

chore: remove unused utility dependency #2581

Workflow file for this run

name: Run WebDriverIO integration tests
on:
push:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'
pull_request:
branches:
- master
- release
- 'spring*'
- 'summer*'
- 'winter*'
env:
PUPPETEER_SKIP_DOWNLOAD: 'true' # only needed for @best/runner-local, unused here
CHROMEDRIVER_BINARY: '../../../node_modules/chromedriver/lib/chromedriver/chromedriver' # pin wdio to local chromedriver
jobs:
run-integration-tests:
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./packages/@lwc/integration-tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.18.0'
cache: 'yarn'
# Needed for local browser integration tests
# chrome-version documentation can be found here: https://github.com/browser-actions/setup-chrome?tab=readme-ov-file#usage
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: 130
id: setup-chrome
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./
# Pin chromedriver to the same version as Chrome above
- name: Install chromedriver
run: yarn add -W chromedriver@^130
working-directory: ./
- run: CHROME_BINARY=${{ steps.setup-chrome.outputs.chrome-path }} yarn local:prod:ci
- run: CHROME_BINARY=${{ steps.setup-chrome.outputs.chrome-path }} yarn local:dev:ci