From 9989f870fc57501e0839311c01edcff7c8416990 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 17 Jan 2020 09:45:32 +0100 Subject: [PATCH] Lint workflow --- .github/workflows/lint.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..72da253 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,26 @@ +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@v1 + - + # 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'