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.

[CI] Improve build and deploy time

See original GitHub issue

Current Behavior Currently, it takes about 8 minutes for this site’s build and preview workflow to execute.

Desired Situation Ideally, this time is cut in half.


Contributor Resources

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Nikhil-Ladhacommented, May 12, 2022

let’s also keep temporary caching as another option https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows

Interesting stuff. npm install on each build could save up to a minute or so. Do you want to give it a try?

1reaction
Nikhil-Ladhacommented, May 11, 2022

Let’s experiment with the usage of the following flags and see if that helps. PARALLEL_SOURCING LMDB_STORE PARALLEL_QUERY_RUNNING

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Ways of Running Faster CI/CD Build - Semaphore CI
5 Ways to Run Faster CI/CD Builds · 1. Use more powerful machines · 2. Increase parallelization · 3. Use artifacts and cache...
Read more >
5 Strategies to Reduce Frontend Build Time with CI/CD
So, In this article will take you through four different strategies to optimize the front-end build time with CI/CD. 1. Using Parallel Web...
Read more >
Optimizing CI Build Times - Harness.io Docs
Optimizing CI Build Times · Test Intelligence · Looping Strategies · Optimize Docker Images to Reduce Build Times · Enable Docker Layer ...
Read more >
How to keep up with CI/CD best practices - GitLab
Time to value​​ The integration, testing, delivery, and deployment should take anywhere from minutes up to a few hours for test cycles to...
Read more >
9 Ways to Speed Up Your CI/CD Pipelines
Downloading modules at build time takes a significant portion of a build. Whether you are using NPM / Maven / Gradle / PIP,...
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