Use frozen lockfile instead of pure lockfile on yarn install (#10493)

pull/28217/head
Michael Telatynski 2023-03-31 16:06:08 +01:00 committed by GitHub
parent 6f791d28c8
commit 24eed963d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@ jobs:
# Does not need branch matching as only analyses this layer # Does not need branch matching as only analyses this layer
- name: Install Deps - name: Install Deps
run: "yarn install --pure-lockfile" run: "yarn install --frozen-lockfile"
- name: i18n Check - name: i18n Check
run: "yarn run diff-i18n" run: "yarn run diff-i18n"

View File

@ -13,16 +13,16 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
pushd matrix-js-sdk pushd matrix-js-sdk
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF [ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
yarn link yarn link
yarn install --pure-lockfile $@ yarn install --frozen-lockfile $@
popd popd
scripts/fetchdep.sh matrix-org matrix-analytics-events main scripts/fetchdep.sh matrix-org matrix-analytics-events main
pushd matrix-analytics-events pushd matrix-analytics-events
yarn link yarn link
yarn install --pure-lockfile $@ yarn install --frozen-lockfile $@
yarn build:ts yarn build:ts
popd popd
yarn link matrix-js-sdk yarn link matrix-js-sdk
yarn link @matrix-org/analytics-events yarn link @matrix-org/analytics-events
yarn install --pure-lockfile $@ yarn install --frozen-lockfile $@

View File

@ -18,7 +18,7 @@ scripts/fetchdep.sh matrix-org matrix-js-sdk
pushd matrix-js-sdk pushd matrix-js-sdk
[ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF [ -n "$JS_SDK_GITHUB_BASE_REF" ] && git fetch --depth 1 origin $JS_SDK_GITHUB_BASE_REF && git checkout $JS_SDK_GITHUB_BASE_REF
yarn link yarn link
yarn install --pure-lockfile yarn install --frozen-lockfile
popd popd
# Also set up matrix-analytics-events so we get the latest from # Also set up matrix-analytics-events so we get the latest from
@ -26,7 +26,7 @@ popd
scripts/fetchdep.sh matrix-org matrix-analytics-events main scripts/fetchdep.sh matrix-org matrix-analytics-events main
pushd matrix-analytics-events pushd matrix-analytics-events
yarn link yarn link
yarn install --pure-lockfile yarn install --frozen-lockfile
yarn build:ts yarn build:ts
popd popd
@ -34,13 +34,13 @@ popd
yarn link matrix-js-sdk yarn link matrix-js-sdk
yarn link @matrix-org/analytics-events yarn link @matrix-org/analytics-events
yarn link yarn link
yarn install --pure-lockfile yarn install --frozen-lockfile
# Finally, set up element-web # Finally, set up element-web
scripts/fetchdep.sh vector-im element-web scripts/fetchdep.sh vector-im element-web
pushd element-web pushd element-web
yarn link matrix-js-sdk yarn link matrix-js-sdk
yarn link matrix-react-sdk yarn link matrix-react-sdk
yarn install --pure-lockfile yarn install --frozen-lockfile
yarn build:res yarn build:res
popd popd