Skip to content

refactor: events module #209

refactor: events module

refactor: events module #209

Workflow file for this run

name: Run Unit Tests
on:
pull_request:
jobs:
unit-tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
node-version:
- '18'
steps:
# Install deps and cache
# Eventually it would be great if these steps could live in a separate YAML file
# that could be included in line to avoid code duplication
- 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: yarn
- name: Install Yarn dependencies
run: yarn install --prefer-offline --frozen-lockfile
# Run unit tests
- name: Run unit tests
run: yarn test:unit