From 5f7dc21a4b4049504667ffb02d62ebadc65ae668 Mon Sep 17 00:00:00 2001 From: Peter Barnum Date: Wed, 2 Oct 2024 11:41:43 -0600 Subject: [PATCH] add action for jest unit tests --- .github/workflows/tests.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000..c95563ae --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,16 @@ +name: Unit Tests +on: [push] +jobs: + cypress-run: + name: Run Jest Tests + runs-on: ubuntu-22.04 + environment: test + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Dependencies + uses: actions/setup-node@v3 + with: + node-version: '22' + - run: npm install + - run: npm test