CMR-10042 and CMR-10043 #82
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: Linting | |
on: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [18] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Linter (check only) | |
run: npm run lint | |
Prettier: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [18] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Prettier (check only) | |
run: npm run prettier |