Merge pull request #13644 from Olexandr88/patch-1 #1081
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: Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
- name: Install | |
run: npm ci --prefer-offline | |
- name: Alex | |
run: npm run alex | |
- name: Prettier | |
run: npm run prettier -- --list-different | |
- name: Eslint | |
run: npm run eslint -- --max-warnings 0 |