name: CI on: push: branches: ["main"] pull_request: branches: ["main"] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Bun uses: oven-sh/setup-bun@v2 with: bun-version: latest - name: Install dependencies # --ignore-scripts skips native postinstall builds (e.g. canvas) that # aren't needed for the Vite browser build and fail on CI runners. run: bun install --frozen-lockfile --ignore-scripts - name: Build run: bun run build # Deployment: the VPS (avria.cloud) polls this repo every 2 minutes via # /home/avria/auto-deploy.sh (cron, user avria) and runs deploy.sh when main # moves — pull/build/rsync to public_html. CI here is a build check only; # pushing SSH from Actions doesn't work because Hostinger's edge firewall # blocks the runners' IPs.