2019-10-11 22:10:22 +00:00
|
|
|
name: Lint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2021-05-15 17:20:18 +00:00
|
|
|
uses: actions/checkout@v2.3.4
|
2021-05-16 11:37:48 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2019-10-11 22:10:22 +00:00
|
|
|
|
|
|
|
- name: Installing Node
|
2021-05-12 08:31:08 +00:00
|
|
|
uses: actions/setup-node@v2.1.5
|
2019-10-11 22:10:22 +00:00
|
|
|
with:
|
2020-12-24 15:16:13 +00:00
|
|
|
node-version: 15
|
2019-10-11 22:10:22 +00:00
|
|
|
|
|
|
|
- name: Install deps
|
|
|
|
run: |
|
2019-10-14 05:53:30 +00:00
|
|
|
npm i -g yarn@1.19.1
|
2019-10-11 22:10:22 +00:00
|
|
|
cd app
|
|
|
|
yarn
|
|
|
|
cd ..
|
|
|
|
rm app/node_modules/.yarn-integrity
|
|
|
|
yarn
|
|
|
|
|
2020-12-24 15:30:00 +00:00
|
|
|
- name: Build typings
|
|
|
|
run: yarn run build:typings
|
|
|
|
|
2019-10-11 22:10:22 +00:00
|
|
|
- name: Lint
|
|
|
|
run: yarn run lint
|