diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index aff5852db..f877ca265 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,11 +21,7 @@ jobs: - name: Setup Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 - # Need to skip setup if Cypress run is skipped, otherwise an error - # is thrown since the pnpm cache step fails - if: ${{ ( env.CYPRESS_RECORD_KEY != '' ) || ( matrix.containers == 1 ) }} with: - cache: pnpm node-version: ${{ matrix.node-version }} # Install NPM dependencies, cache them correctly diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 10081e7f3..e40912c29 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -8,7 +8,8 @@ "exports": { ".": { "types": "./dist/mermaid.d.ts", - "import": "./dist/mermaid.core.mjs" + "import": "./dist/mermaid.core.mjs", + "default": "./dist/mermaid.core.mjs" }, "./*": "./*" },