Skip to content

2nd attempt at running unit tests #2

2nd attempt at running unit tests

2nd attempt at running unit tests #2

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