Created
June 16, 2020 21:36
-
-
Save crazy-max/51ff6c07321e7a4b0c8cfe0ba976445b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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