From de50d359f3149c170d6b54a853ed6a98584ac894 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 13 May 2024 10:58:09 -0700 Subject: [PATCH] [chore] Run Jest-based Unit Tests on PR via GHA --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..fcf1ffa2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Run Unit Tests + +on: [pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Install dependencies + run: npm install + + - name: Run Unit Tests + run: npm run test