Articles tagged in: GitHub

GitHub Actions — Clone Another Repository

GitHub Actions integrate automated workflows into a repository. We’re usually running the test suite of a given repository when pushing commits to a repository on GitHub. This tutorial shows you how to clone other repositories in your GitHub Actions workflows. {{outline}} Use Case: the Supercharge Website The Supercharge website …

Continue Reading

GitHub Actions — How to Add Comments in YAML Files

GitHub Actions are a seamless way to integrate automated tasks into your repository. Sometimes it’s helpful to leave a comment in the action’s YAML file. Yes! Workflow files in GitHub Actions support comments! This tutorial shows you how to add comments to GitHub Actions workflow files. {{outline}} Add …

Continue Reading

GitHub Actions — How to Test Lerna Monorepos

GitHub Actions provide a convenient way to test your project. Typically, you’ll trigger test runs and builds through push or pull request events. When testing lerna monorepos, there’s a nuance that you must keep in mind: the CI environment! This tutorial shows you how to configure lerna to …

Continue Reading

GitHub Actions — Run a Workflow When Creating a Tag

GitHub Actions provider powerful configurations. You can customize the event triggers to run a job to your own needs. We use a handy workflow to publish our packages to the GitHub Package Registry in our repositories. The “publish workflow” only runs when creating a new tag in a repository. {{outline} …

Continue Reading

GitHub Actions — Customize the Job Name

GitHub Actions provide a convenient way to run your application tests. You can also run a test matrix with different dependency versions. For example, a test matrix can consist of three Node.js and two MongoDB versions. The test suite will then run against all combinations of Node.js and …

Continue Reading
Page 1 of 2

Explore the Library

Find interesting tutorials and solutions for your problems.