Skip to content

Commit 58475b9

Browse files
authored
fix(ci): add workaround for Parcel not working with Yarn PnP (#6447)
## What's the problem this PR addresses? It seems like the issue (parcel-bundler/parcel#9114) is stuck on Parcel's side with no interest of it being fixed. ## How did you fix it? While this is not ideal, that leaves us with two choices: add a workaround and continue testing Parcel, or remove E2E tests for Parcel altogether. I chose the former. ## Checklist <!--- Don't worry if you miss something, chores are automatically tested. --> <!--- This checklist exists to help you remember doing the chores when you submit a PR. --> <!--- Put an `x` in all the boxes that apply. --> - [x] I have read the [Contributing Guide](https://yarnpkg.com/advanced/contributing). <!-- See https://yarnpkg.com/advanced/contributing#preparing-your-pr-to-be-released for more details. --> <!-- Check with `yarn version check` and fix with `yarn version check -i` --> - [x] I have set the packages that need to be released for my changes to be effective. <!-- The "Testing chores" workflow validates that your PR follows our guidelines. --> <!-- If it doesn't pass, click on it to see details as to what your PR might be missing. --> - [x] I will check that all automated PR checks pass before the PR gets reviewed.
1 parent 758a8be commit 58475b9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/e2e-parcel-workflow.yml

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
2929
yarn init -p
3030
yarn add -D parcel@nightly lodash @babel/core
3131
32+
# See https://github.com/parcel-bundler/parcel/issues/9114
33+
34+
echo "packageExtensions:
35+
\"@parcel/fs@*\":
36+
dependencies:
37+
\"@parcel/core\": '*'" > .yarnrc.yml
38+
3239
# JavaScript
3340
3441
echo "import _ from 'lodash';function printHello() { console.log(_.join(['Hello', 'JS'], ' '))}; printHello();" | tee index.js

0 commit comments

Comments
 (0)