Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/docker-link-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
echo "Linking js-sdk"
git clone --depth 1 --branch $JS_SDK_BRANCH "$JS_SDK_REPO" js-sdk
cd js-sdk
# The cloned js-sdk may pin a different pnpm version than element-web. Corepack
# won't switch pnpm versions mid-process, so bypass the version check instead of
# failing. Exported (not just a CLI flag) so it also applies to the nested
# `pnpm build` spawned by js-sdk's `prepare` lifecycle script.
export npm_config_pm_on_fail=ignore

Check warning on line 28 in scripts/docker-link-repos.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Environment variable 'npm_config_pm_on_fail' should use ALL_CAPS naming convention.

See more on https://sonarcloud.io/project/issues?id=element-web&issues=AaBjDJ-bSButQIfScZZc&open=AaBjDJ-bSButQIfScZZc&pullRequest=34906
pnpm install
cd ../

Expand Down
Loading