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

25 lines
427 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:
-
name: Checkout
2020-05-07 02:54:24 +08:00
uses: actions/checkout@v2
2020-04-18 13:30:45 +08:00
-
name: Set up Node
uses: actions/setup-node@v1
2019-10-11 07:41:16 +08:00
-
name: Setup TS
run: npm install tslint typescript -g
-
name: Lint check
run: tslint './src/*.ts'