ghaction-github-pages/.github/workflows/lint.yml

24 lines
366 B
YAML
Raw Normal View History

2019-10-11 07:41:16 +08:00
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'