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

23 lines
403 B
YAML
Raw Normal View History

2019-10-11 07:41:16 +08:00
name: lint
on:
pull_request:
paths:
2019-10-23 16:00:19 +08:00
- '.github/workflows/lint.yml'
- 'src/*'
2019-10-11 07:41:16 +08:00
jobs:
lint:
runs-on: ubuntu-latest
steps:
-
2019-10-23 16:00:19 +08:00
# https://github.com/actions/checkout
2019-10-11 07:41:16 +08:00
name: Checkout
uses: actions/checkout@v1
-
name: Setup TS
run: npm install tslint typescript -g
-
name: Lint check
run: tslint './src/*.ts'