ci: test client prs with typechecking before merge

This commit is contained in:
zkldi
2023-08-17 19:22:29 +01:00
parent 3bacb2c913
commit 4537349027
+11 -2
View File
@@ -8,10 +8,17 @@ on:
paths:
- "client/**"
- "common/**"
pull_request:
branches:
- "staging"
- "release/*"
paths:
- "client/**"
- "common/**"
workflow_dispatch:
jobs:
deploy:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@@ -30,7 +37,9 @@ jobs:
- name: Typecheck
run: pnpm --filter tachi-client typecheck
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to staging
if: github.ref == 'refs/heads/staging'
uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8