feat(cli): run file-bridge poller by default on the VPS #1501
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| lint-typecheck: | |
| name: Lint & Type-check | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| cache-dependency-path: | | |
| web/package-lock.json | |
| shared/package-lock.json | |
| - name: Install web dependencies | |
| run: npm ci | |
| - name: Install shared dependencies | |
| working-directory: shared | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint | |
| - name: Type-check | |
| run: npx tsc --noEmit | |
| test: | |
| name: Vitest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| cache-dependency-path: | | |
| tests/js/package-lock.json | |
| web/package-lock.json | |
| cli/package-lock.json | |
| shared/package-lock.json | |
| shared/cron/package-lock.json | |
| - name: Install test runner dependencies | |
| working-directory: tests/js | |
| run: npm ci | |
| - name: Install web dependencies for imported routes | |
| working-directory: web | |
| run: npm ci | |
| - name: Install CLI dependencies for imported commands | |
| working-directory: cli | |
| run: npm ci | |
| - name: Install shared dependencies for imported modules | |
| working-directory: shared | |
| run: npm ci | |
| - name: Install cron dependencies for imported modules | |
| working-directory: shared/cron | |
| run: npm ci | |
| - name: Run tests | |
| working-directory: tests/js | |
| run: npm test | |
| build: | |
| name: Build Web | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| cache: "npm" | |
| cache-dependency-path: | | |
| web/package-lock.json | |
| shared/package-lock.json | |
| - name: Install web dependencies | |
| run: npm ci | |
| - name: Install shared dependencies | |
| working-directory: shared | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| env: | |
| NEXT_TELEMETRY_DISABLED: "1" |