From 1a3ed6f8a6e375042421e202e5570c72c06e75c8 Mon Sep 17 00:00:00 2001 From: mgh Date: Thu, 11 Jul 2024 22:33:37 +0330 Subject: [PATCH] ci: using pnpm in ci build --- .github/workflows/build-typecheck-test.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-typecheck-test.yml b/.github/workflows/build-typecheck-test.yml index 3ea4ffc..f0fe716 100644 --- a/.github/workflows/build-typecheck-test.yml +++ b/.github/workflows/build-typecheck-test.yml @@ -23,23 +23,20 @@ jobs: with: node-version: lts/* - - name: Setup Universal Package Manager - run: npm i -g @antfu/ni - - name: Install - run: nci + run: pnpm i --force - name: Lint - run: nr lint + run: pnpm lint - name: Typecheck - run: nr typecheck + run: pnpm typecheck - name: Test - run: nr test + run: pnpm test - name: Test with Coverage - run: nr coverage + run: pnpm coverage - name: Upload Coverage Metric to Codecov uses: codecov/codecov-action@v3