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

21 lines
318 B
YAML
Raw Normal View History

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