Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 24eed96

Browse files
authored
Use frozen lockfile instead of pure lockfile on yarn install (#10493)
1 parent 6f791d2 commit 24eed96

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/i18n_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
# Does not need branch matching as only analyses this layer
3636
- name: Install Deps
37-
run: "yarn install --pure-lockfile"
37+
run: "yarn install --frozen-lockfile"
3838

3939
- name: i18n Check
4040
run: "yarn run diff-i18n"

scripts/ci/install-deps.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
1313
pushd matrix-js-sdk
1414
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
1515
yarn link
16-
yarn install --pure-lockfile $@
16+
yarn install --frozen-lockfile $@
1717
popd
1818

1919
scripts/fetchdep.sh matrix-org matrix-analytics-events main
2020
pushd matrix-analytics-events
2121
yarn link
22-
yarn install --pure-lockfile $@
22+
yarn install --frozen-lockfile $@
2323
yarn build:ts
2424
popd
2525

2626
yarn link matrix-js-sdk
2727
yarn link @matrix-org/analytics-events
28-
yarn install --pure-lockfile $@
28+
yarn install --frozen-lockfile $@

scripts/ci/layered.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
1818
pushd matrix-js-sdk
1919
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
2020
yarn link
21-
yarn install --pure-lockfile
21+
yarn install --frozen-lockfile
2222
popd
2323

2424
# Also set up matrix-analytics-events so we get the latest from
2525
# the main branch or a branch with matching name
2626
scripts/fetchdep.sh matrix-org matrix-analytics-events main
2727
pushd matrix-analytics-events
2828
yarn link
29-
yarn install --pure-lockfile
29+
yarn install --frozen-lockfile
3030
yarn build:ts
3131
popd
3232

3333
# Now set up the react-sdk
3434
yarn link matrix-js-sdk
3535
yarn link @matrix-org/analytics-events
3636
yarn link
37-
yarn install --pure-lockfile
37+
yarn install --frozen-lockfile
3838

3939
# Finally, set up element-web
4040
scripts/fetchdep.sh vector-im element-web
4141
pushd element-web
4242
yarn link matrix-js-sdk
4343
yarn link matrix-react-sdk
44-
yarn install --pure-lockfile
44+
yarn install --frozen-lockfile
4545
yarn build:res
4646
popd

0 commit comments

Comments
 (0)