Skip to content

Commit

Permalink
bump pnpm, fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed May 31, 2022
1 parent 2897035 commit bdce068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: pnpm
uses: pnpm/[email protected]
with:
version: 7.1.2
version: 7.1.7

- name: Setup Node
uses: actions/setup-node@v2
Expand Down
4 changes: 2 additions & 2 deletions postinstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ if (pnpmVersion !== requestedVersion) {
? `upgraded`
: `${yellow}downgraded${reset}${green}`;
console.log(
`${green}Successfully ${action} pnpm to v${requestedVersion} in .github/workflows/deploy.yml${reset}`
`${green}Successfully ${action} pnpm to v${pnpmVersion} in .github/workflows/deploy.yml${reset}`
);
} else {
console.error(
`${red}Expected pnpm version ${pnpmVersion} but found v${requestedVersion} in .github/workflows/deploy.yml${reset}`
`${red}Expected pnpm v${pnpmVersion} but found v${requestedVersion} in .github/workflows/deploy.yml${reset}`
);
if (semver.lt(pnpmVersion, requestedVersion)) {
console.log(
Expand Down

0 comments on commit bdce068

Please sign in to comment.