You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
576 B
27 lines
576 B
name: Lint / Flow check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main # change this if your default branch is named differently
|
|
pull_request:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Lint on node 12.x and ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Use Node.js 12.x
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
|
|
- name: Install deps and build (with cache)
|
|
uses: bahmutov/npm-install@v1.7.10
|
|
|
|
- name: Lint codebase
|
|
run: yarn ci-check
|
|
|