Use frozen lockfile instead of pure lockfile on yarn install (#25009)
This commit is contained in:
parent
b3c88f7a16
commit
ddc2932541
3 changed files with 7 additions and 7 deletions
2
.github/workflows/static_analysis.yaml
vendored
2
.github/workflows/static_analysis.yaml
vendored
|
@ -80,7 +80,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: Run Linter
|
- name: Run Linter
|
||||||
run: "yarn run lint:js"
|
run: "yarn run lint:js"
|
||||||
|
|
|
@ -77,7 +77,7 @@ dodep matrix-org matrix-js-sdk
|
||||||
|
|
||||||
pushd matrix-js-sdk
|
pushd matrix-js-sdk
|
||||||
yarn link
|
yarn link
|
||||||
yarn install --pure-lockfile
|
yarn install --frozen-lockfile
|
||||||
popd
|
popd
|
||||||
|
|
||||||
yarn link matrix-js-sdk
|
yarn link matrix-js-sdk
|
||||||
|
@ -91,7 +91,7 @@ dodep matrix-org matrix-react-sdk
|
||||||
pushd matrix-react-sdk
|
pushd matrix-react-sdk
|
||||||
yarn link
|
yarn link
|
||||||
yarn link matrix-js-sdk
|
yarn link matrix-js-sdk
|
||||||
yarn install --pure-lockfile
|
yarn install --frozen-lockfile
|
||||||
popd
|
popd
|
||||||
|
|
||||||
yarn link matrix-react-sdk
|
yarn link matrix-react-sdk
|
||||||
|
|
|
@ -14,7 +14,7 @@ set -ex
|
||||||
# for the primary repo (element-web in this case).
|
# for the primary repo (element-web in this case).
|
||||||
|
|
||||||
# Install dependencies, as we'll be using fetchdep.sh from matrix-react-sdk
|
# Install dependencies, as we'll be using fetchdep.sh from matrix-react-sdk
|
||||||
yarn install --pure-lockfile
|
yarn install --frozen-lockfile
|
||||||
|
|
||||||
# Pass appropriate repo to fetchdep.sh
|
# Pass appropriate repo to fetchdep.sh
|
||||||
export PR_ORG=vector-im
|
export PR_ORG=vector-im
|
||||||
|
@ -24,7 +24,7 @@ export PR_REPO=element-web
|
||||||
node_modules/matrix-react-sdk/scripts/fetchdep.sh matrix-org matrix-js-sdk
|
node_modules/matrix-react-sdk/scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||||
pushd matrix-js-sdk
|
pushd matrix-js-sdk
|
||||||
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
|
||||||
|
@ -32,7 +32,7 @@ popd
|
||||||
node_modules/matrix-react-sdk/scripts/fetchdep.sh matrix-org matrix-analytics-events main
|
node_modules/matrix-react-sdk/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
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ pushd matrix-react-sdk
|
||||||
yarn link
|
yarn link
|
||||||
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
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Link the layers into element-web
|
# Link the layers into element-web
|
||||||
|
|
Loading…
Reference in a new issue