The folks at Voorhoede share how they integrated the actions/cache@v2 build step into their GitHub Workflow so that it caches npm install results. Super fast npm install on Github Actions → Related: By Shallow + Single Branch Cloning you can speed up the git clone step of your build pipeline. The actions/checkout@v2 build step already …
Tag Archives: build pipeline
Running GitHub Actions for Certain Commit Messages
Ryan Chandler shares how to configure your GitHub Actions Workflow in such a way that they skip a build when a certain word appears in the commit message. jobs: format: runs-on: ubuntu-latest if: "! contains(github.event.head_commit.message, 'nobuild')" You can also flip it around, to only build whenever a specific word is present. Running GitHub Actions for …
Continue reading “Running GitHub Actions for Certain Commit Messages”
Speed up build times with this little Git trick
When building applications on build pipelines like GitHub Actions, Google Cloud Build, CircleCI, etc. every second counts. Here’s this small trick I use to speed up build times: when cloning the repo from its Git source, I instruct Git to do a shallow clone of the single branch it is building. 💡 If you’re running …
Continue reading “Speed up build times with this little Git trick”