From 114c882eba263486c559392c3b05cd184ccb572f Mon Sep 17 00:00:00 2001 From: Ananto Ghosh Date: Wed, 23 Feb 2022 00:31:41 +0530 Subject: [PATCH] ci: update to corepack --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e8df7e4..dbfcb0a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -31,7 +31,7 @@ jobs: path: ~/.pnpm-store key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} - name: Install pnpm - run: curl -f https://get.pnpm.io/v6.7.js | node - add --global pnpm@6 + run: corepack enable - run: pnpm install - run: pnpm test - run: pnpm build