From 8a12a53b7cfe5871a314172dbe75a89fd82cb974 Mon Sep 17 00:00:00 2001 From: dargy Date: Sun, 26 May 2024 00:24:56 -0500 Subject: [PATCH] feat(workflow): add unit test workflow --- .github/workflows/run-jest.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/run-jest.yml diff --git a/.github/workflows/run-jest.yml b/.github/workflows/run-jest.yml new file mode 100644 index 0000000..08b3ed9 --- /dev/null +++ b/.github/workflows/run-jest.yml @@ -0,0 +1,19 @@ +name: Run Unit Tests with Jest + +on: + pull_request: + branches: + - main + - master + - hono-rewrite + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install dependencies + run: pnpm install + - name: Run Jest tests + run: pnpm test