From 9a16dc6fb8f0d2835aad5949066395fb8f847351 Mon Sep 17 00:00:00 2001 From: "Ismail H. Ayaz" Date: Tue, 20 Aug 2024 15:10:17 +0300 Subject: [PATCH] ci: use pnpm --- .github/workflows/test-workflow.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-workflow.yml b/.github/workflows/test-workflow.yml index 75c8b1f..0113dae 100644 --- a/.github/workflows/test-workflow.yml +++ b/.github/workflows/test-workflow.yml @@ -5,12 +5,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - name: Use Node.js 16 - uses: actions/setup-node@v1 + - uses: pnpm/action-setup@v4 + name: Install pnpm with: - node-version: 16.x - - run: npm install - - run: npm run test:coverage + version: 9 + run_install: false + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - run: pnpm run test:coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: