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

27 lines
521 B
YAML
Raw Normal View History

2020-01-17 01:45:32 -07:00
name: lint
on:
pull_request:
paths:
- '.github/workflows/lint.yml'
- 'src/*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
-
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v1
2020-04-17 23:30:19 -06:00
-
# https://github.com/actions/setup-node
name: Set up Node
uses: actions/setup-node@v1
2020-01-17 01:45:32 -07:00
-
name: Setup TS
run: npm install tslint typescript -g
-
name: Lint check
run: tslint './src/*.ts'