fix: reorganize action to prevent deploying when tsc fails
This commit is contained in:
18
.github/workflows/pr.yml
vendored
Normal file
18
.github/workflows/pr.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user