ISSUE-413: Change post colour based on author's role #333
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: 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: '14' | |
- 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 | |
env: | |
CI: false | |
- name: Run Code Formatter | |
working-directory: ${{ matrix.directory }} | |
run: npm run style:formatter | |
env: | |
CI: false |