Skip to content

Commit

Permalink
ci: enable ESM loader for Docusaurus (#4041)
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jan 31, 2022
1 parent 093e8bb commit 3214bfa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/e2e-docusaurus-workflow.yml
Expand Up @@ -24,12 +24,20 @@ jobs:
- name: 'Running the integration test'
run: |
source scripts/e2e-setup-ci.sh
# TODO: Remove once https://github.com/yarnpkg/berry/blob/bd146ccddf95aae9c99c0c48d86b1d8997f1dccf/scripts/e2e-setup-ci.sh#L31-L38 is fixed
YARN_PNP_ENABLE_ESM_LOADER=true
yarn dlx create-docusaurus@latest my-website classic && cd my-website
yarn build
- name: 'Running the TypeScript integration test'
run: |
source scripts/e2e-setup-ci.sh
# TODO: Remove once https://github.com/yarnpkg/berry/blob/bd146ccddf95aae9c99c0c48d86b1d8997f1dccf/scripts/e2e-setup-ci.sh#L31-L38 is fixed
YARN_PNP_ENABLE_ESM_LOADER=true
yarn dlx create-docusaurus@latest my-website-ts classic --typescript && cd my-website-ts
yarn build
if: |
Expand Down

0 comments on commit 3214bfa

Please sign in to comment.