Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
chore(tools/release): ensure npm 6 is used (speced#3634)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidvishnoi authored Jun 15, 2021
1 parent 276d869 commit 0952ae0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ const indicators = new Map([
]);

const run = async () => {
const npmVersion = await npm("--version");
if (!npmVersion.trim().startsWith("6")) {
throw new Error(`Must use npm 6.x for release. Found ${npmVersion}`);
}
const initialBranch = await getCurrentBranch();
try {
// 1. Confirm maintainer is on up-to-date and on the develop branch ()
Expand Down

0 comments on commit 0952ae0

Please sign in to comment.