Skip to content

Commit 461a669

Browse files
committed
switch to pnpm publish
1 parent 6bf0c31 commit 461a669

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

publish.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ else
2020
fi
2121

2222
echo "Publishing version $OVERRIDE_VERSION with npm tag '$NPM_TAG' for commit $COMMIT_SHA."
23-
npm --no-git-tag-version --allow-same-version version $OVERRIDE_VERSION
24-
npm publish --tag $NPM_TAG --access=public
23+
pnpm --no-git-tag-version --allow-same-version version $OVERRIDE_VERSION
24+
25+
# pnpm publish is required here to prevent workspace stuff from being published with the package
26+
pnpm publish --tag $NPM_TAG --access=public

0 commit comments

Comments
 (0)