Add linting packages #16
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: Quality | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'canary' | |
- 'main' | |
- '*' | |
jobs: | |
eslint: | |
name: 'ESLint' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: ./.github/composite-actions/install | |
- name: Run ESLint check | |
run: npm run eslint-check | |
prettier: | |
name: 'Prettier' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
- name: Install | |
uses: actions/setup-node@v2 | |
- name: Run Prettier check | |
run: npm prettier-check |