Simplify deploy workflow to a single job for act_runner.
Some checks failed
CI / Typecheck and test (push) Successful in 8s
Deploy / Test and deploy (push) Failing after 8s

This commit is contained in:
alisaza 2026-09-13 14:56:04 +03:30
parent 9615f6cb1e
commit ed20c35396

View File

@ -5,13 +5,9 @@ on:
branches: [main]
workflow_dispatch:
concurrency:
group: deploy-telegram-relay
cancel-in-progress: true
jobs:
test:
name: Typecheck and test
test-and-deploy:
name: Test and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -20,16 +16,14 @@ jobs:
with:
node-version: '20'
- run: npm ci
- run: npm run typecheck
- run: npm test
- name: Install
run: npm ci
deploy:
name: Deploy to VPS
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test
- name: Deploy over SSH
env: