Skip to content

Commit 915a75a

Browse files
committed
Fix npm publish
Unlike yarn publish, there is no --non-interactive and you cannot specify a directory, you have to move into it first.
1 parent a9b2872 commit 915a75a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/steps/publish-npm.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ main() {
146146
# Since the dev builds are scoped to @coder
147147
# We pass --access public to ensure npm knows it's not private.
148148
echo "Publishing version $NPM_VERSION with tag $NPM_TAG"
149-
npm publish --non-interactive release --tag "$NPM_TAG" --access public
149+
cd release
150+
npm publish --tag "$NPM_TAG" --access public
150151
}
151152

152153
main "$@"

0 commit comments

Comments
 (0)