Commit 0b572b9
fix(ci): integrate regression-test into pnpm workspace and fix Cypress
Major fixes for CI/CD test failures:
1. **Add regression-test to pnpm workspace**:
- Update pnpm-workspace.yaml to include 'regression-test'
- Now managing 99 workspace packages (was 98)
2. **Fix regression-test dependencies**:
- Remove file: protocol dependency ("instructure-ui": "file:../packages")
- Add proper workspace dependencies:
- @instructure/emotion: workspace:*
- @instructure/ui-a11y-content: workspace:*
- Fixes module resolution errors in visual regression tests
3. **Fix Cypress binary installation**:
- Add "Install Cypress binary" step in pr-validation.yml
- Run npx cypress install after pnpm install
- Fixes "Cypress binary is missing" error
4. **Update lockfile**:
- pnpm install regenerates lockfile with workspace changes
- Cypress binary auto-installs via postinstall hook
Fixes:
- Visual regression: "Module not found: Can't resolve '@instructure/emotion'"
- Cypress component tests: "The Cypress binary is missing"
All workspace packages now properly linked and accessible.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent b349501 commit 0b572b9
File tree
4 files changed
+2570
-173
lines changed- .github/workflows
- regression-test
4 files changed
+2570
-173
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments