mirror of https://github.com/vector-im/riot-web
Use frozen lockfile instead of pure lockfile on yarn install (#10493)
parent
6f791d28c8
commit
24eed963d3
|
@ -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"
|
||||||
|
|
|
@ -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 $@
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue