question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lerna restore cache taking ~4 minutes

See original GitHub issue

Lerna restore cache, using the example from this repo, is taking ~4 minutes

image

- name: Restore Lerna
        id: restore-lerna
        uses: actions/cache@v2
        with:
          path: |
            node_modules
            **/node_modules
          key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}

This is actually ~1 minute longer than it takes to install the packages from scratch.

Not a clue what is wrong here or how to debug. Any help would be appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dhadkacommented, Feb 3, 2021

Thanks! No need to post the logs since you clarified the delay. They can be toggled under the gear icon:
image

0reactions
github-actions[bot]commented, Feb 23, 2022

This issue was closed because it has been inactive for 5 days since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can we use published packages instead of rebuilding? #1983
This is fine, except for the fact that when we have lots of packages (currently ~35), this takes a lot of time to...
Read more >
Move Away from Lerna and Turbocharge your monorepo with ...
We're using Lerna to handle the packages and their dependencies. Now Lerna does not uses any cache system. Every time you build or...
Read more >
Goodbye Lerna (sorta), hello Bazel - Level Up Coding
We now have a GitHub Action workflow with cache: CI: we're on par with the older system with more correctness & reproducibility (~14...
Read more >
Lerna reborn — What's new in v6?. Lerna v6 is out ... - Nx Blog
Remote caching with Lerna. By using Nx as the task scheduler for Lerna it inherits all the capabilities Nx comes with. That not...
Read more >
Caching Dependencies - CircleCI
The first step is to decide when a cache will be saved or restored by using a key for which some value is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found