Add github action

This commit is contained in:
tobspr 2020-05-14 08:57:52 +02:00
parent 85951615a9
commit 8316ccc70a
1 changed files with 18 additions and 0 deletions

18
.github/workflows/ci-workflow.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: workflow
on:
push:
paths:
- src/js/*
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"