Skip to content

Commit

Permalink
ci: update to corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
anantoghosh committed Feb 22, 2022
1 parent 8a94882 commit 114c882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 114c882

Please sign in to comment.