feat(bar): add close button #2028
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| cache: "npm" | |
| - name: Setup clang-format | |
| uses: aminya/setup-cpp@v1 | |
| with: | |
| clangformat: 20 | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run lint | |
| run: make lint | |
| build-macos-arm64: | |
| name: Build on Apple Silicon (macOS ARM64) | |
| runs-on: macos-14 | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=4096" | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Setup clang | |
| uses: aminya/setup-cpp@v1 | |
| with: | |
| compiler: clang-15 | |
| cmake: true | |
| ccache: true | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: nightly-2025-01-06 | |
| targets: aarch64-apple-darwin,x86_64-apple-darwin | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "18" | |
| cache: "npm" | |
| - name: Build for macOS ARM64 | |
| run: | | |
| npm ci | |
| make jsbundle |