From 2c1981bfb9ffe8ccab3322e43d939925053472f1 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 6 Nov 2024 12:57:57 -0900 Subject: [PATCH] Fix npm publish Unlike yarn publish, there is no --non-interactive and you cannot specify a directory, you have to move into it first. --- ci/steps/publish-npm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/steps/publish-npm.sh b/ci/steps/publish-npm.sh index 58f625c84..29c11e951 100755 --- a/ci/steps/publish-npm.sh +++ b/ci/steps/publish-npm.sh @@ -142,7 +142,8 @@ main() { # Since the dev builds are scoped to @coder # We pass --access public to ensure npm knows it's not private. - npm publish --non-interactive release --tag "$NPM_TAG" --access public + cd release + npm publish --tag "$NPM_TAG" --access public } main "$@"