Fix lint workflow (#10)

This commit is contained in:
CrazyMax 2019-10-23 10:00:19 +02:00 committed by GitHub
parent 8dcf88f55a
commit 5533456618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,15 +3,23 @@ name: lint
on: on:
pull_request: pull_request:
paths: paths:
- src/* - '.github/workflows/lint.yml'
- 'src/*'
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- -
# https://github.com/actions/checkout
name: Checkout name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
-
# https://github.com/actions/setup-node
name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12.x
- -
name: Setup TS name: Setup TS
run: npm install tslint typescript -g run: npm install tslint typescript -g