GitHub Actions Basic CI Setup
Learn to set up a basic CI using GitHub Actions.
We'll cover the following
In this lesson, we'll walk through the process of setting up a basic Continuous Integration (CI) workflow for our serverless project using GitHub Actions.
Prerequisites
To work on CI/CD with GitHub Actions, we need to have a repository on GitHub. This lesson's prerequisite is to have already set up the repository.
Setup
In our repository, we'll create a new file in the .github/workflows
directory. The directory and file might look something like this: .github/workflows/my-workflow.yml
.
Let's start by defining a simple workflow that runs our tests every time we push to the repository.
Get hands-on with 1200+ tech skills courses.