coryhouse / coryhouse/reactjsconsulting

Continuous Integration - CI

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
374
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Tips for speed

- [ ] Fail fast - Run cheap things first (example, check linting and rules like no-only for Cy tests first
- [ ] Parallelize
- [ ] Run linting and build at same time
- [ ] Then run tests for all projects in parallel
- [ ] Can go even farther like Cypress dashboard and intelligently parallelize
- [ ] Run the prod version of the app
- [ ] Remove unused packages from package.json
- [ ] Run reusable Cy tests against prod storybook build
- [ ] Move storybook to root and test against a prod storybook build
- [ ] Try Yarn with workspaces
- [ ] Quiet reusable Storybook webpack build output
- [ ] Use Lerna, Nx, or pnpm
- [ ] Run Cy against the prod build to speed responses, test prod build, and avoid needing to compile the app twice on CI 😎
- [ ] Assure each test, build, lint, and process runs only runs once
- [ ] Cache Cypress image or use the official Cypress Docker images with the included test runner and browser
to eliminate install
- [ ] Avoid running webpack-bundle-analyzer on CI

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.