Skip to content

Commit 3214bfa

Browse files
authored
ci: enable ESM loader for Docusaurus (#4041)
1 parent 093e8bb commit 3214bfa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,20 @@ jobs:
2424
- name: 'Running the integration test'
2525
run: |
2626
source scripts/e2e-setup-ci.sh
27+
28+
# TODO: Remove once https://github.com/yarnpkg/berry/blob/bd146ccddf95aae9c99c0c48d86b1d8997f1dccf/scripts/e2e-setup-ci.sh#L31-L38 is fixed
29+
YARN_PNP_ENABLE_ESM_LOADER=true
30+
2731
yarn dlx create-docusaurus@latest my-website classic && cd my-website
2832
yarn build
2933
3034
- name: 'Running the TypeScript integration test'
3135
run: |
3236
source scripts/e2e-setup-ci.sh
37+
38+
# TODO: Remove once https://github.com/yarnpkg/berry/blob/bd146ccddf95aae9c99c0c48d86b1d8997f1dccf/scripts/e2e-setup-ci.sh#L31-L38 is fixed
39+
YARN_PNP_ENABLE_ESM_LOADER=true
40+
3341
yarn dlx create-docusaurus@latest my-website-ts classic --typescript && cd my-website-ts
3442
yarn build
3543
if: |

0 commit comments

Comments
 (0)