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