Merge pull request #194 from RikyTales/dino-embed-fix #224
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: | |
branches: | |
- main | |
pull_request_target: | |
branches: | |
- main | |
permissions: | |
checks: write | |
contents: write | |
jobs: | |
run-linters: | |
name: Run linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Install Node.js dependencies | |
run: npm ci | |
- name: Run linters | |
uses: wearerequired/lint-action@v1 | |
with: | |
eslint: true | |
eslint_args: '-c .eslintrc.cjs' | |
eslint_extensions: js,ts,cjs |