From 9f0a397e6ce86accd26290a1fae0d2e437d38866 Mon Sep 17 00:00:00 2001 From: Zavier Miller Date: Wed, 27 Dec 2023 02:39:47 -0500 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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 0000000..5c39e90 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: "pnpm" + - run: pnpm install --frozen-lockfile --ignore-scripts + - run: pnpm test:unit