Skip to content

Tests / fixes for moveBy #24

Tests / fixes for moveBy

Tests / fixes for moveBy #24

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize', 'ready_for_review']
workflow_dispatch:
inputs:
node_version:
description: 'Node.js version'
required: true
default: '20'
type: choice
options:
- 18
- 20
jobs:
build:
if: '! github.event.pull_request.draft'
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version || 20 }}
- name: Install Dependencies
run: npm ci
env:
DETECT_CHROMEDRIVER_VERSION: true
- name: Run Tests
uses: coactions/setup-xvfb@v1
with:
run: npm run ci
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}