2019-10-12 01:10:22 +03:00
|
|
|
name: Lint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- name: Installing Node
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2020-12-24 18:16:13 +03:00
|
|
|
node-version: 15
|
2019-10-12 01:10:22 +03:00
|
|
|
|
|
|
|
- name: Install deps
|
|
|
|
run: |
|
2019-10-14 08:53:30 +03:00
|
|
|
npm i -g yarn@1.19.1
|
2019-10-12 01:10:22 +03:00
|
|
|
cd app
|
|
|
|
yarn
|
|
|
|
cd ..
|
|
|
|
rm app/node_modules/.yarn-integrity
|
|
|
|
yarn
|
|
|
|
|
2020-12-24 18:30:00 +03:00
|
|
|
- name: Build typings
|
|
|
|
run: yarn run build:typings
|
|
|
|
|
2019-10-12 01:10:22 +03:00
|
|
|
- name: Lint
|
|
|
|
run: yarn run lint
|