Skip to content

Feature: Markdown Documentation for Bindings #21

Feature: Markdown Documentation for Bindings

Feature: Markdown Documentation for Bindings #21

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:
workflow_dispatch:
inputs:
node_version:
description: 'Node.js version'
required: true
default: '20'
type: choice
options:
- 18
- 20
jobs:
build:
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 }}
# - uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: screenshots
# path: test/screenshots