From 0155327451670b51979c7141e99d3c091266e1a4 Mon Sep 17 00:00:00 2001 From: CookingWithCale Date: Mon, 18 Dec 2023 15:02:50 -0800 Subject: [PATCH] Fix unit test not working on GitHub #52.J Tried coping and pasting from package.json. --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 523f785..a8ac83f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,14 +24,14 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - # Install required deps for action + # Install packages. - name: Install run: npm install - # Build project + # Build project. - name: Build - run: npm run build + run: tsup ./Source/index.ts --format cjs, esm --dts - # Finally, run our tests + # Run tests. - name: Test - run: npm run test \ No newline at end of file + run: jest