Skip to content

fix: declare webdriverio as a dependency, not a peer (install parity) #31

fix: declare webdriverio as a dependency, not a peer (install parity)

fix: declare webdriverio as a dependency, not a peer (install parity) #31

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- v8
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 22
cache: 'npm'
- name: Install
run: npm ci
- name: Lint
run: npm run lint
build-test:
name: Build & test (node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['18.20', '20', '22']
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test