Feature/logger #126
Workflow file for this run
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: Lint | |
on: | |
pull_request: | |
branches: | |
- development | |
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token | |
permissions: | |
checks: write | |
contents: write | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install frontend dependencies | |
run: npm ci | |
working-directory: frontend | |
- name: Run frontend linters | |
run: npm run lint | |
working-directory: frontend | |
- name: Install backend dependencies | |
run: npm ci | |
working-directory: backend/server | |
- name: Run backend linters | |
run: npm run lint | |
working-directory: backend/server |