chore(deps): update linters (major) #3623
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 and Testing' | |
on: pull_request | |
concurrency: | |
group: lint-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
run-tests: | |
name: 'Run Tests' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js and use yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
cache: 'yarn' | |
- name: Install All Dependencies | |
run: yarn install --immutable | |
- name: Check Formatting with Prettier | |
run: yarn format-check-all | |
- name: Lint JS with ESLint | |
run: yarn lint | |
- name: Lint CSS with Stylelint | |
run: yarn lint-css | |
- name: Check TypeScript compilation | |
run: yarn lint-ts | |
- name: Run tests | |
run: yarn test |