docs: document PORT environment variable with dev/prod behavior (Vibe Kanban) #2750
Workflow file for this run
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - louis/fe-revision | |
| - gabriel/share | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| env: | |
| CARGO_TERM_COLOR: always | |
| NODE_VERSION: 22 | |
| PNPM_VERSION: 10.13.1 | |
| jobs: | |
| test: | |
| runs-on: buildjet-4vcpu-ubuntu-2204 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: ./.github/actions/setup-node | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Lint frontend | |
| run: cd frontend && npm run lint | |
| - name: Check i18n regressions | |
| env: | |
| GITHUB_BASE_REF: ${{ github.base_ref || 'main' }} | |
| run: ./scripts/check-i18n.sh | |
| - name: Format check frontend | |
| run: cd frontend && npm run format:check | |
| - name: Type check frontend | |
| run: cd frontend && npx tsc --noEmit | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: nightly-2025-12-04 | |
| components: rustfmt, clippy | |
| - name: Cache Rust dependencies | |
| uses: Swatinem/rust-cache@v2 | |
| env: | |
| RUST_CACHE_DEBUG: true | |
| with: | |
| workspaces: "." | |
| cache-provider: "buildjet" | |
| cache-on-failure: true | |
| shared-key: "shared" | |
| cache-all-crates: true | |
| - name: Install sqlx-cli | |
| run: cargo install sqlx-cli --no-default-features --features sqlite,postgres | |
| - name: Build frontend | |
| run: cd frontend && npm run build | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=8192 | |
| - name: Checks | |
| run: | | |
| cargo fmt --all -- --check | |
| npm run generate-types:check | |
| npm run prepare-db:check | |
| npm run remote:prepare-db:check | |
| cargo test --workspace | |
| cargo clippy --all --all-targets -- -D warnings |