Skip to content

feat: Remove automatic download of the latest chromedriver upon insta… #469

feat: Remove automatic download of the latest chromedriver upon insta…

feat: Remove automatic download of the latest chromedriver upon insta… #469

Workflow file for this run

name: Unit Tests
on: [push, pull_request]
jobs:
prepare_matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.generate-matrix.outputs.active }}
steps:
- name: Select all active LTS versions of Node.js
id: generate-matrix
uses: msimerson/node-lts-versions@v1
test:
needs:
- prepare_matrix
strategy:
matrix:
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
# TODO: Remove after node 22.5.0 is fixed
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
check-latest: true
- run: npm install
name: Install dev dependencies
- run: npm run lint
name: Run linter
- run: npm run test
name: Run unit tests