Skip to content

Multi-Version Test #2382

Multi-Version Test

Multi-Version Test #2382

Workflow file for this run

name: Multi-Version Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
schedule:
- cron: "32 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm ci
npm run build --if-present
npm run coverage
env:
CI: true
- name: upload coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}