[ #22, MarkdownDB fails with more than 500 files in a top directory ] #111
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: Lint & format check | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
main: | |
name: Lint & format check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: Install modules | |
run: npm ci | |
- name: Eslint | |
run: npm run lint | |
- name: Prettier | |
run: npm run format:check |