Continuous integration with GitHub Actions
We can understand continuous integration as a way to do automatic checks on the code. This will help us to reduce human errors and will help us to mechanize the process of checking the project’s quality.
This is an optional step that is not required in order to deploy the application, but if you want to get a better understanding of professional development environments, you can follow along.
So, the first step is to define what we expect from the automation and then we can implement it. In our case, we want to install the dependencies, run the linter, and run the tests. And we want to do this every time that we push code to the repository.
In order to implement this, we will create the .github/workflows/ci.yml
file with the following content:
name: Continous Integration on: [push] jobs: check: runs-on: ubuntu-latest steps: -...