Skip to content

Commit 2c1981b

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 344df38 commit 2c1981b

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
@@ -142,7 +142,8 @@ main() {
142142

143143
# Since the dev builds are scoped to @coder
144144
# We pass --access public to ensure npm knows it's not private.
145-
npm publish --non-interactive release --tag "$NPM_TAG" --access public
145+
cd release
146+
npm publish --tag "$NPM_TAG" --access public
146147
}
147148

148149
main "$@"

0 commit comments

Comments
 (0)