Skip to content

Run the unit tests in CI #2

Run the unit tests in CI

Run the unit tests in CI #2

Workflow file for this run

name: Pull requests
on:
pull_request:
jobs:
unit-test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./core
strategy:
matrix:
node:
- "current"
- "lts/*"
name: Run unit tests on Node ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm install
- name: Run unit tests
run: npm test