Skip to content

Commit

Permalink
try to fix yarn pnp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jul 22, 2024
1 parent e6ba17c commit 65b840d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,13 @@ jobs:
working-directory: ../test-website
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false # Yarn berry should create the lockfile, despite CI env

- name: Install missing dependencies for pnp
if: matrix.nodeLinker == 'pnp'
run: |
yarn add @docusaurus/theme-common @docusaurus/plugin-content-docs @docusaurus/plugin-content-blog
working-directory: ../test-website
- name: Install missing dependencies
if: matrix.variant == '-st' && matrix.nodeLinker == 'pnp'
run: |
# These dependencies are referenced in the init project, not by our packages
yarn add @docusaurus/theme-classic @docusaurus/types @types/node
yarn config set packageExtensions --json '{ "unified@^9.2.2": { "dependencies": { "@types/unist": "^2.0.6" } } }'
yarn config set packageExtensions --json '{ "@docusaurus/theme-common@*": { "dependencies": { "@docusaurus/plugin-content-docs": "*" } } }'
yarn config set packageExtensions --json '{ "@docusaurus/plugin-content-blog@*": { "dependencies": { "@docusaurus/plugin-content-docs": "*" } } }'
working-directory: ../test-website

- name: Start test-website project
run: yarn start --no-open
working-directory: ../test-website
Expand Down

0 comments on commit 65b840d

Please sign in to comment.