Skip to content

Check Regressions

Check Regressions #26

name: 'Check Regressions'
on:
workflow_dispatch:
inputs:
versions:
required: true
type: string
default: 'v18,v20,v21,v22'
description: 'The Node.js Versions (the folder must exist)'
major-only:
required: true
type: boolean
default: false
description: 'Flag to check regression only between major versions'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js v${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 'v20.x'
- name: NPM Install
run: npm install
- name: Run Checker
env:
MAJOR_ONLY: ${{ inputs.major-only }}
VERSIONS: ${{ inputs.versions }}
run: node scripts/check-regression.mjs