Skip to content

fix(ci): revert wdio workflow call changes #1958

fix(ci): revert wdio workflow call changes

fix(ci): revert wdio workflow call changes #1958

Workflow file for this run

name: WebdriverIO Tests
on:
merge_group:
pull_request:
push:
branches:
- 'main'
jobs:
build_core:
name: Build
uses: ./.github/workflows/build.yml
run_wdio:
name: Run WebdriverIO Component Tests (${{ matrix.browser }})
runs-on: ubuntu-22.04
needs: [build_core]
strategy:
matrix:
browser: [CHROME, FIREFOX, EDGE]
steps:
- name: Checkout Code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Use Node Version from Volta
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
# pull the version to use from the volta key in package.json
node-version-file: './test/wdio/package.json'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Download Build Archive
uses: ./.github/workflows/actions/download-archive
with:
name: stencil-core
path: .
filename: stencil-core-build.zip
- name: Run WebdriverIO Component Tests
run: npm run test.wdio
env:
BROWSER: ${{ matrix.browser }}
- name: Check Git Context
uses: ./.github/workflows/actions/check-git-context