GitHub action that lints your code with TSLint (with Annotation support)
Please see PR #2, or Check Run Result
name: workflow
on: [push]
jobs:
job:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v1
- name: Prepare
run: npm ci
- name: Lint
uses: mooyoul/tslint-actions@v1.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
pattern: '*.ts'
See full license on mooyoul.mit-license.org