fix: reorganize action to prevent deploying when tsc fails

This commit is contained in:
Baptiste Grob
2020-10-07 12:35:21 +02:00
parent 2f720d39f0
commit 7f4bcdeec5
2 changed files with 20 additions and 5 deletions

18
.github/workflows/pr.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Check pull request
on:
pull_request:
branches:
- develop
- master
jobs:
tsc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm ci
- name: Typescript
run: npm run tsc