Skip to content

Commit

Permalink
ci: update publish script node version and use corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
anantoghosh committed Mar 5, 2022
1 parent c79146e commit 676f4bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 676f4bc

Please sign in to comment.