🎨 Palette: Add ARIA labels to buttons in Modals #456
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: Diagnostic Build & Test | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| workflow_dispatch: | |
| jobs: | |
| build-and-diagnose: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| # 1. CHECKOUT (Fixes: "No url found for submodule" by disabling recursion) | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: false | |
| fetch-depth: 0 | |
| # 2. SETUP PNPM (*** CRITICAL: MUST RUN BEFORE SETUP-NODE ***) | |
| # This ensures the 'pnpm' executable exists and is in PATH when setup-node tries to use it. | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9 | |
| # 3. SETUP NODE.JS (Now safe to use pnpm caching) | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'pnpm' # pnpm is now properly available | |
| # 4. SETUP EMSCRIPTEN | |
| - name: Setup Emscripten | |
| uses: mymindstorm/setup-emsdk@v14 | |
| with: | |
| version: 3.1.51 | |
| no-cache: false | |
| # 5. INSTALL DEPENDENCIES (Fixes: "ERR_PNPM_OUTDATED_LOCKFILE") | |
| - name: Install Dependencies | |
| run: pnpm install --no-frozen-lockfile | |
| # 6. DIAGNOSTIC: Check Files | |
| - name: 🔍 Debug - Verify Source | |
| run: | | |
| echo "Checking directory structure..." | |
| ls -F | |
| echo "Checking emscripten folder..." | |
| ls -F emscripten/ || echo "emscripten folder missing" | |
| # 7. RUN THE BUILDS | |
| - name: 🛠️ Build WASM Modules | |
| run: | | |
| chmod +x emscripten/*.sh | |
| chmod +x tools/*.sh | |
| echo ">>> Building Rubberband..." | |
| ./emscripten/build.sh | |
| echo ">>> Building JC303..." | |
| ./tools/build_jc303_omp.sh | |
| # 8. BUILD WEB APP | |
| - name: 🏗️ Build Web Application | |
| run: pnpm build | |
| # 9. VERIFY OUTPUT | |
| - name: 🔍 Debug - Verify Output | |
| run: | | |
| echo "Checking for build artifacts..." | |
| ls -lh public/*.wasm || echo "❌ No WASM files in public/" | |
| ls -lh public/*.js || echo "❌ No JS glue files in public/" | |
| # 10. UPLOAD ARTIFACTS | |
| - name: Upload Build Artifacts | |
| uses: actions/upload-artifact@v4 | |
| continue-on-error: true | |
| with: | |
| name: debug-build-output | |
| path: dist/ |