mirror of
https://github.com/coder/code-server.git
synced 2026-05-29 18:13:50 +02:00
refactor: use npm in build steps and postinstall.sh (#5844)
* refactor: default to npm in postinstall.sh yarn has a bug where it will try to update dependencies even if `yarn.lock` is present. Therefore we're defaulting to `npm` to prevent further issues. * refactor: exclude yarn.lock in standalone By excluding `yarn.lock`, we prevent issues where the user must use `yarn` instead of `npm` to install code-server.
This commit is contained in:
@@ -10,7 +10,7 @@ main() {
|
||||
|
||||
source ./ci/lib.sh
|
||||
|
||||
rsync "$RELEASE_PATH/" "$RELEASE_PATH-standalone"
|
||||
rsync --exclude yarn.lock "$RELEASE_PATH/" "$RELEASE_PATH-standalone"
|
||||
RELEASE_PATH+=-standalone
|
||||
|
||||
# We cannot find the path to node from $PATH because yarn shims a script to ensure
|
||||
|
||||
Reference in New Issue
Block a user