mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
547e658b6d
* console: replace remote schema url * Rename lint to console lint
32 lines
625 B
YAML
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
|