Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Upgrade deps

Upgrade deps #27

name: webdriver-image-comparison
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Testing steps
- name: Install dependencies
working-directory: ./
run: npm ci
- name: Run Unit Tests and generate coverage report
working-directory: ./
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}