chore(deps): update dependency webdriverio to v9 #1378
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: tests | |
on: | |
push: | |
pull_request: | |
branches: [ $default-branch ] | |
env: | |
# Cache browser binaries inside node_modules so that the node action | |
# properly packs them between runs. | |
PLAYWRIGHT_BROWSERS_PATH: 0 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Lint | |
run: pnpm lint | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Build | |
run: pnpm run build | |
mugshot: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Test | |
run: pnpm test | |
working-directory: packages/mugshot | |
- name: Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: mugshot | |
webdriverio: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
browser: ['chrome', 'firefox'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Test | |
run: pnpm test | |
env: | |
BROWSER: ${{ matrix.browser }} | |
working-directory: packages/webdriverio | |
- name: Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: webdriverio, ${{ matrix.browser }} | |
puppeteer: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: | | |
pnpm i | |
node packages/puppeteer/node_modules/puppeteer/install.js | |
- name: Test | |
run: pnpm test | |
working-directory: packages/puppeteer | |
- name: Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: puppeteer | |
playwright: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
browser: [ 'chromium', 'firefox' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.2.4 | |
with: | |
version: latest | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Test | |
run: pnpm test | |
env: | |
BROWSER: ${{ matrix.browser }} | |
working-directory: packages/playwright | |
- name: Coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
flags: playwright, ${{ matrix.browser }} |