lint(Fix): Expect error #724
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: Code Quality | |
on: [push, pull_request] | |
jobs: | |
Prettier: | |
name: Prettier | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
node: ['14.x'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Prettier | |
run: npm run prettier | |
ESLint: | |
name: ESLint | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
node: ['14.x'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm ci | |
- name: Run ESLint | |
run: npm run lint |