-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): split ci jobs #610
Conversation
041b2db
to
2faddb6
Compare
exit 1 | ||
fi | ||
|
||
- save_cache: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom cache since circle's node orb doesn't fully work with workspaces.
|
||
- run: | ||
name: yarn install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bringing back the custom yarn.lock
check since --forzen-lockfile
doesn't error out on workspaces.
steps: | ||
- pre-setup | ||
- attach-built-icons | ||
- restore_cache: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds cache to next.js build.
"ci": "lerna run ci --stream", | ||
"ci:typeCheck": "lerna run typeCheck --stream", | ||
"ci:test": "lerna run test --stream -- --maxWorkers=2 --coverage", | ||
"ci:build": "lerna run build --stream", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍹 can remove
First pass, this brings down the workflow from 7-10min, to 3-5min (hot/cold cache).
ci
script into multiple scriptsnode_modules
+<package>/node_modules
.next
dir for docs.