name: lint

on:
  pull_request:
    branches:
      - master
      - releases/*
    paths:
      - src/*

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v1
      -
        name: Setup TS
        run: npm install tslint typescript -g
      -
        name: Lint check
        run: tslint './src/*.ts'
