chore(CI): add Typescript check
This commit is contained in:
22
.github/workflows/tsc.yml
vendored
Normal file
22
.github/workflows/tsc.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: Typescript check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: Typescript
|
||||||
|
run: npm run tsc
|
||||||
Reference in New Issue
Block a user