Skip to content

Instantly share code, notes, and snippets.

@crazy-max
Created June 16, 2020 21:36
Show Gist options
  • Save crazy-max/51ff6c07321e7a4b0c8cfe0ba976445b to your computer and use it in GitHub Desktop.
Save crazy-max/51ff6c07321e7a4b0c8cfe0ba976445b to your computer and use it in GitHub Desktop.
name: lint
on:
pull_request:
paths:
- '.github/workflows/lint.yml'
- 'src/*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment