Skip to content

Commit

Permalink
Fix npm publish
Browse files Browse the repository at this point in the history
Unlike yarn publish, there is no --non-interactive and you cannot
specify a directory, you have to move into it first.
  • Loading branch information
code-asher committed Nov 6, 2024
1 parent 344df38 commit 2c1981b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/steps/publish-npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit 2c1981b

Please sign in to comment.