Skip to content

Commit

Permalink
fix: clear turborepo cache (IN-1002) (#219)
Browse files Browse the repository at this point in the history
* fix: clear cache (IN-1002)

* fix: rearrange stuf
  • Loading branch information
DecathectZero committed Apr 25, 2024
1 parent cb58831 commit abb8945
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/monorepo/monorepo_save_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ steps:
condition:
equal: ["turborepo", << parameters.monorepo_engine >>]
steps:
- persist_to_workspace:
root: "."
paths:
- node_modules/.cache/turbo
- run:
# deletes all files in the cache directory that are older than 7 days, only mtime is persisted properly
name: Clean cache directory
command: find node_modules/.cache/turbo -type f -mtime +7 -delete
- save_cache:
paths:
- node_modules/.cache/turbo
Expand Down

0 comments on commit abb8945

Please sign in to comment.