graphql-engine/.github/workflows/lint.yml
Aleksandra Sikora 547e658b6d
console: replace remote schema url in tests (#5011)
* console: replace remote schema url

* Rename lint to console lint
2020-06-08 17:45:43 +05:30

32 lines
625 B
YAML

name: console lint
on:
pull_request:
paths:
- 'console/**'
jobs:
lint:
runs-on: ubuntu-latest
env:
working-directory: ./console
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
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