Fix CI cache for storybook (#14038)
In this PR: - Migrate twenty-ui to ES2020 (removing undesired type errors during build) - Make CI cache work again between `sb-build` and `sb-test` steps (Note: also fixing a minor bug on Notes) Total CI time: ~8min <img width="1088" height="531" alt="image" src="https://github.com/user-attachments/assets/0bd0a99a-c69e-491d-91b2-9ddf6622464a" /> Both node_modules and sb-build caches are being hit now <img width="1154" height="722" alt="image" src="https://github.com/user-attachments/assets/a5addcee-51d2-4f51-9ff6-d02cd25da49a" />
This commit is contained in:
@@ -24,7 +24,6 @@ jobs:
|
||||
if: needs.changed-files-check.outputs.any_changed == 'true' && ( github.event_name == 'push' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-e2e')))
|
||||
timeout-minutes: 30
|
||||
env:
|
||||
NX_REJECT_UNKNOWN_LOCAL_CACHE: 0
|
||||
# https://github.com/actions/runner-images/issues/70#issuecomment-589562148
|
||||
NODE_OPTIONS: "--max-old-space-size=10240"
|
||||
services:
|
||||
|
||||
Reference in New Issue
Block a user