Set --frozen-lockfile with yarn when necessary
This commit is contained in:
parent
d4b3d21dce
commit
89c5a4dfea
@ -69,7 +69,7 @@ EOF
|
|||||||
) > "$VSCODE_OUT_PATH/product.json"
|
) > "$VSCODE_OUT_PATH/product.json"
|
||||||
|
|
||||||
pushd "$VSCODE_OUT_PATH"
|
pushd "$VSCODE_OUT_PATH"
|
||||||
yarn --production --ignore-scripts
|
yarn --production --frozen-lockfile --ignore-scripts
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# We clear any native module builds.
|
# We clear any native module builds.
|
||||||
|
@ -19,7 +19,7 @@ main() {
|
|||||||
rsync "$node_path" "$RELEASE_PATH/lib/node"
|
rsync "$node_path" "$RELEASE_PATH/lib/node"
|
||||||
|
|
||||||
cd "$RELEASE_PATH"
|
cd "$RELEASE_PATH"
|
||||||
yarn --production
|
yarn --production --frozen-lockfile
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
@ -15,7 +15,7 @@ main() {
|
|||||||
(
|
(
|
||||||
cd lib/vscode
|
cd lib/vscode
|
||||||
# Install VS Code dependencies.
|
# Install VS Code dependencies.
|
||||||
yarn
|
yarn ${CI+--frozen-lockfile}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
yarn
|
yarn --frozen-lockfile
|
||||||
|
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
# We do not `yarn vscode` to make test.sh faster.
|
# We do not `yarn vscode` to make test.sh faster.
|
||||||
|
@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
yarn
|
yarn --frozen-lockfile
|
||||||
|
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
# We do not `yarn vscode` to make test.sh faster.
|
# We do not `yarn vscode` to make test.sh faster.
|
||||||
|
@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
yarn
|
yarn --frozen-lockfile
|
||||||
yarn vscode
|
yarn vscode
|
||||||
yarn build
|
yarn build
|
||||||
yarn build:vscode
|
yarn build:vscode
|
||||||
|
@ -4,7 +4,7 @@ set -euo pipefail
|
|||||||
main() {
|
main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
yarn
|
yarn --frozen-lockfile
|
||||||
|
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
# We do not `yarn vscode` to make test.sh faster.
|
# We do not `yarn vscode` to make test.sh faster.
|
||||||
|
Loading…
Reference in New Issue
Block a user