Skip to content

3rd attempt at unit tests #3

3rd attempt at unit tests

3rd attempt at unit tests #3

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Test Suite
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Install Jest
run: npm i jest --save-dev
- name: Install Jest CLI
run: npm i jest-cli -g
- name: Run Unit Tests
run: jest