diff --git a/.github/workflows/jest-tests.yml b/.github/workflows/jest-tests.yml new file mode 100644 index 0000000..a426d43 --- /dev/null +++ b/.github/workflows/jest-tests.yml @@ -0,0 +1,23 @@ +name: Jest Tests + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '18' + + - name: Install dependencies + run: npm ci + + - name: Run Jest tests + run: npm test