DEV Community

anshul137
anshul137

Posted on

DPS909 Blog :LAB 9 Add Continuous Integration

Overview

To use the CI/CD and automation on GitHub

So, what exactly is GitHub Actions?

GitHub Actions is a native CI/CD tool that runs alongside your code in GitHub. In fact, you may have noticed a tab that says “Actions” in a GitHub repository at some point.
GitHub Actions gives developers the ability to
automate their workflows across issues, pull
requests, and more—plus native CI/CD
functionality.

All GitHub Actions automations are handled via workflows, which are
YAML files placed under the .github/workflows directory in a repository
that define automated processes.

Most common use cases for GitHub Actions

  • Build, test, and deploy within the GitHub flow
  • Automate repetitive tasks
  • Manage users easily at scale
  • Easily add preferred tools and services to your project
  • Quickly review & test code on GitHub

Link to my repo

ag-ssg

How to setup github action

Github Actions

After setting up the github Action into my account my YMl file look like this

Image description

I have also create the Prettier action in my Repo YML file look like this.

Image description

Thanks

Top comments (0)