From 49c173b5bbd4b76443114cba59c2d374a66d4370 Mon Sep 17 00:00:00 2001 From: alexnguyennz Date: Sun, 7 Jan 2024 09:25:42 +1300 Subject: [PATCH] fix action --- .github/workflows/testing.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 4861829..250a0bb 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -4,11 +4,15 @@ jobs: unit: runs-on: ubuntu-latest steps: - - name: checkout repo + - name: Checkout repo uses: actions/checkout@v3 - - name: use node.js + - name: Install Node.js uses: actions/setup-node@v3 with: node-version: '18.x' - - run: npm install - - run: npm vitest run \ No newline at end of file + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 8 + - run: pnpm install + - run: pnpm test:unit \ No newline at end of file