telegrambot/.gitea/workflows/ci.yml
alisaza a541075765
Some checks failed
CI / Typecheck and test (push) Failing after 1m36s
Deploy / Typecheck and test (push) Failing after 35s
Deploy / Deploy to VPS (push) Has been skipped
Add Gitea Actions CI/CD and production deploy scripts.
Wire typecheck/test on PR/push and SSH deploy to the foreign VPS on main.
2026-09-13 14:39:59 +03:30

29 lines
438 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Typecheck and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
- name: Install
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test