From 676f4bce45cd42992896ad9bf4e4abc91e58b395 Mon Sep 17 00:00:00 2001 From: Ananto Ghosh Date: Sat, 5 Mar 2022 13:20:45 +0530 Subject: [PATCH] ci: update publish script node version and use corepack --- .github/workflows/npm-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 441b326..35a3292 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - 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 @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 registry-url: https://registry.npmjs.org/ - uses: actions/download-artifact@v2 with: @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 registry-url: https://npm.pkg.github.com/ scope: "@anantoghosh" - uses: actions/download-artifact@v2