Skip to content

Commit e64bb7a

Browse files
merceyzarcanis
andauthored
ci(e2e): disable fallback mode by default (#1701)
* ci(e2e): disable fallback mode * chore: opt-out `@vue/cli` from strict mode Co-authored-by: Maël Nison <[email protected]>
1 parent c4730d8 commit e64bb7a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/e2e-vue-cli-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
3434
echo '{"useTaobaoRegistry": false}' | tee ~/.vuerc
3535
36-
yarn dlx @vue/cli create -d my-vue && cd my-vue
37-
yarn build
36+
YARN_PNP_FALLBACK_MODE="dependencies-only" yarn dlx @vue/cli create -d my-vue && cd my-vue
37+
YARN_PNP_FALLBACK_MODE="dependencies-only" yarn build

scripts/e2e-setup-ci.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export YARN_ENABLE_INLINE_BUILDS=1
2020
# We want to allow installs to modify the lockfile
2121
export YARN_ENABLE_IMMUTABLE_INSTALLS=0
2222

23+
# We want to make sure the projects work in a monorepo
24+
export YARN_PNP_FALLBACK_MODE=none
25+
2326
# Otherwise git commit doesn't work, and some tools require it
2427
git config --global user.email "[email protected]"
2528
git config --global user.name "John Doe"

0 commit comments

Comments
 (0)