graphql-engine/.github/workflows/lint.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
625 B
YAML
Raw Normal View History

name: console lint
on:
pull_request:
paths:
- 'console/**'
jobs:
lint:
runs-on: ubuntu-latest
env:
working-directory: ./console
steps:
- uses: actions/checkout@v2
2020-06-02 11:14:45 +03:00
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
2020-06-02 11:14:45 +03:00
node-version: 12.x
- name: Install
working-directory: ${{env.working-directory}}
run: npm ci
- name: Lint
working-directory: ${{env.working-directory}}
run: npm run lint:quiet
- name: Format
working-directory: ${{env.working-directory}}
run: npm run format:check