diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 34d1706c0..3d0e74554 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -14,6 +14,23 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v3 + + - uses: pnpm/action-setup@v2 + with: + version: 7.20.0 + + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: pnpm + + - name: Install dependencies + run: pnpm --filter tachi-client... --filter . install + + - name: Typecheck + run: pnpm --filter tachi-client typecheck + - name: Deploy to staging if: github.ref == 'refs/heads/staging' uses: appleboy/ssh-action@1a8b3784eaa665f677fa114edd5683bb6a6bfaa8