fix(COND-1): Improve the file structure #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
paths-ignore: | |
- '**.md' # Ignore changes to markdown files | |
branches-ignore: | |
- 'master' # We have a separate workflow for master branch | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
env: | |
NODE_ENV: test | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set Up Node.js Environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.18.0 | |
cache: 'yarn' # Cache Yarn dependencies | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile # Ensures dependencies match yarn.lock | |
- name: Run Code Linting | |
run: yarn lint |