Skip to content

Pirog1

Pirog1 #86

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
env:
TERM: xterm
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-22.04
- windows-2022
node-version:
- '18'
steps:
# Install deps and cache
- name: Checkout code
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
# Run unit tests
- name: Run units tests
run: npm run test:unit