chore(deps): update actions/checkout action to v4.1.5 (#5742) #1229
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: 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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 | |
- name: Use Node Version from Volta | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
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 |