Checking formatting & Linting #3
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: Formatting & Linting | |
run-name: Checking formatting & Linting | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
Linting-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copying the code | |
uses: actions/checkout@v4 | |
- name: Fixing the formatting | |
run: npm run format:fix-prod | |
- name: Checking the formatting | |
run: npm run format:check-prod | |
- name: Linting the code | |
run: npm run lint |