Skip to content

Commit 89c5a4d

Browse files
committed
Set --frozen-lockfile with yarn when necessary
1 parent d4b3d21 commit 89c5a4d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

ci/build/build-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ EOF
6969
) > "$VSCODE_OUT_PATH/product.json"
7070

7171
pushd "$VSCODE_OUT_PATH"
72-
yarn --production --ignore-scripts
72+
yarn --production --frozen-lockfile --ignore-scripts
7373
popd
7474

7575
# We clear any native module builds.

ci/build/build-static-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ main() {
1919
rsync "$node_path" "$RELEASE_PATH/lib/node"
2020

2121
cd "$RELEASE_PATH"
22-
yarn --production
22+
yarn --production --frozen-lockfile
2323
}
2424

2525
main "$@"

ci/dev/vscode.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ main() {
1515
(
1616
cd lib/vscode
1717
# Install VS Code dependencies.
18-
yarn
18+
yarn ${CI+--frozen-lockfile}
1919
)
2020
}
2121

ci/steps/fmt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
yarn
7+
yarn --frozen-lockfile
88

99
git submodule update --init
1010
# We do not `yarn vscode` to make test.sh faster.

ci/steps/lint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
yarn
7+
yarn --frozen-lockfile
88

99
git submodule update --init
1010
# We do not `yarn vscode` to make test.sh faster.

ci/steps/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
yarn
7+
yarn --frozen-lockfile
88
yarn vscode
99
yarn build
1010
yarn build:vscode

ci/steps/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44
main() {
55
cd "$(dirname "$0")/../.."
66

7-
yarn
7+
yarn --frozen-lockfile
88

99
git submodule update --init
1010
# We do not `yarn vscode` to make test.sh faster.

0 commit comments

Comments
 (0)