From 9dbf5309f21f715623db3f6973109e0318aa3254 Mon Sep 17 00:00:00 2001 From: Peter Jenkins Date: Wed, 9 Oct 2024 17:17:10 +0300 Subject: [PATCH] Use PNPM --- .github/workflows/node.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 451764b..445ae64 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -16,8 +16,11 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20.x - - run: npm install - - run: npm run build + - uses: pnpm/action-setup@v2 + with: + version: '9.5.0' + - run: pnpm install + - run: pnpm run build test: runs-on: ubuntu-latest @@ -32,5 +35,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - - run: npm install - - run: npm test + - uses: pnpm/action-setup@v2 + with: + version: '9.5.0' + - run: pnpm install + - run: pnpm test