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:
@@ -29,7 +29,7 @@ runs:
|
||||
restore-keys: ${{ steps.cache-primary-key-builder.outputs.CACHE_PRIMARY_KEY_PREFIX }}-
|
||||
path: |
|
||||
.cache
|
||||
.nx/cache
|
||||
.nx
|
||||
node_modules/.cache
|
||||
packages/*/node_modules/.cache
|
||||
${{ inputs.additional-paths }}
|
||||
Reference in New Issue
Block a user