Skip to content

Commit

Permalink
chore: fix verdaccio on node18+
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Nov 13, 2024
1 parent a56d6ab commit d249026
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/verdaccio-publish/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ const args = [
"--dist-tag",
"ci",
];
spawn("npx", args, pipeStdIo).on("close", (code) => {
spawn("npx", args, {
...pipeStdIo,
env: {
...process.env,
HUSKY: "0",
HUSKY_SKIP_HOOKS: "1",
},
}).on("close", (code) => {
// Rollback the changes caused by the version bumping
execSync("git checkout -- clients/*/package.json");
execSync("git checkout -- packages/*/package.json");
Expand Down

0 comments on commit d249026

Please sign in to comment.