From df69b1790b59dab9ae3efd08479de9354050a17a Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 21 Dec 2023 10:26:08 +0000 Subject: [PATCH] build: use pnpm --- .github/workflows/main.yml | 7 +++++-- .github/workflows/pull_request.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d49920..1c76bd8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,8 +45,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: true - name: Test run: npm test - name: Release diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 134a795..e50d755 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -21,7 +21,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: lts/* - - name: Install - run: npm install --no-package-lock + - name: Setup PNPM + uses: pnpm/action-setup@v2 + with: + version: latest + run_install: true - name: Test run: npm test