refactor(ssr): share node types in traversal #2968
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
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.1' | |
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 |