632 feature add oct 29 2024 research study request updates #405
This file contains 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: Linter | |
on: [pull_request] | |
jobs: | |
Linter: | |
name: Linting and Code Formating Check CI | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: { directory : [backend, frontend] } | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: Download dependencies | |
working-directory: ${{ matrix.directory }} | |
run: npm cache clean --force && npm install | |
env: | |
CI: false | |
- name: Run Linter | |
working-directory: ${{ matrix.directory }} | |
run: npm run style:linter --verbose | |
env: | |
CI: false | |
- name: Run Code Formatter | |
working-directory: ${{ matrix.directory }} | |
run: npm run style | |
env: | |
CI: false |