mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-12-25 12:42:07 -05:00
27 lines
521 B
YAML
27 lines
521 B
YAML
|
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@v2
|
||
|
-
|
||
|
# https://github.com/actions/setup-node
|
||
|
name: Set up Node
|
||
|
uses: actions/setup-node@v1
|
||
|
-
|
||
|
name: Setup TS
|
||
|
run: npm install tslint typescript -g
|
||
|
-
|
||
|
name: Lint check
|
||
|
run: tslint './src/*.ts'
|