Skip to content

Commit 8100438

Browse files
Fix/docs corepack setup (#16)
* docs: Add comprehensive VitePress documentation Create complete documentation site for rhdh-e2e-test-utils using VitePress: - Guide section: installation, quick-start, core concepts, deployment, helpers, page objects, utilities, and configuration - API reference: detailed method signatures and types for all exports - Tutorials: step-by-step guides for common use cases - Examples: copy-paste ready code examples Additional features: - GitHub Actions workflow for automatic deployment to GitHub Pages - Standalone docs package with its own package.json and yarn.lock - Reusable snippets to reduce duplication - CLAUDE.md guide for documentation maintenance Co-Authored-By: Claude Opus 4.5 <[email protected]> * fix CI yarn install * fix(docs): add Corepack setup for Yarn 3 in CI workflow - Add corepack enable step to deploy-docs workflow - Update docs setup instructions with corepack enable command - Add packageManager field to docs/package.json Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 7ffe4c1 commit 8100438

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
with:
3636
node-version: 22
3737

38+
- name: Enable Corepack
39+
run: corepack enable
40+
3841
- name: Setup Pages
3942
uses: actions/configure-pages@v5
4043

docs/CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ The docs are a standalone package, independent of the root project. This allows:
150150
### Setup
151151

152152
```bash
153+
corepack enable # Enable Yarn 3 via Corepack (one-time setup)
153154
cd docs
154155
yarn install
155156
```

docs/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,6 @@
1414
},
1515
"engines": {
1616
"node": ">=18"
17-
}
17+
},
18+
"packageManager": "[email protected]"
1819
}

0 commit comments

Comments
 (0)