Setting up your local environment
<aside> 🚧
This page is currently under construction. Please check back later.
</aside>
name: Integration
# When shall we run this workflow?
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '22' # Specify your Node.js version
- name: Install dependencies
run: npm ci
- name: Run Lint
run: npm run lint:ci # Run your linting command



Let’s fix it

Let’s merge it
What to learn from this?
Imagine you are not alone anymore to work on your project and you want everyone to have the same code styling to ensure your code base remain easy to maintain and read from everyone.
Using Pull Request with automation such as the one we just did will make sure any code that is added to the main branch passed all the same exact steps and tests.
This is what we call the “Integration” part, literally, it means integrating new code into the code base, ensuring the new code follows the same rules than the rest of the code base.
You will find different projects runs different checks as part of their integration steps but in general you will find those 3 main ones:

Found a mistake or have a suggestion? Let us know in the feedback form.