From ad655a7be2255280516c0134b17cc80b6f21b627 Mon Sep 17 00:00:00 2001 From: Mehul Kar Date: Tue, 4 Apr 2023 17:00:19 -0700 Subject: [PATCH] Use pnpm in prepare script Corepack throws an error when running pnpm install from the root of the monorepo, because the prepare script is run when you run install. Corepack does not allow using npm, because the root of the monorepo has configured the packageManager to be pnpm. --- .github/actions/turbopack-bump/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/turbopack-bump/package.json b/.github/actions/turbopack-bump/package.json index 2e170c2633633..3a734f9a29217 100644 --- a/.github/actions/turbopack-bump/package.json +++ b/.github/actions/turbopack-bump/package.json @@ -4,7 +4,7 @@ "version": "1.0.0", "scripts": { "build": "ncc build src/index.ts -o dist --source-map --minify", - "prepare": "npm run build" + "prepare": "pnpm run build" }, "dependencies": { "@actions/core": "^1.10.0",