Skip to content

Merge pull request #60 from MarShaikh/Solves-script/db_create-fails-#59 #309

Merge pull request #60 from MarShaikh/Solves-script/db_create-fails-#59

Merge pull request #60 from MarShaikh/Solves-script/db_create-fails-#59 #309

Workflow file for this run

name: Lint
on:
push:
pull_request:
branches:
- main
jobs:
lint:
name: Run lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.npm
key: ${{runner.os}}-deploy-${{hashFiles('**/package-lock.json')}}
- uses: actions/setup-node@v1
with:
node-version: 13.x
- run: npm ci
- run: npx tsc --noEmit
- run: git fetch --no-tags --prune --depth=1 origin +refs/heads/main
- run: npx eslint $(git diff-index --name-only --diff-filter=AM origin/main -- "*.js" "*.jsx" "*.ts" "*.tsx")