fix: review tab content not scrollable due to missing flex context #91
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 Build | |
| on: | |
| push: | |
| branches: [test] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: test-build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| package-lock.json | |
| frontend/package-lock.json | |
| server/package-lock.json | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| working-directory: ./frontend | |
| - name: Install server dependencies | |
| run: npm ci | |
| working-directory: ./server | |
| - name: Lint frontend | |
| run: npm run lint:frontend | |
| - name: Run frontend tests | |
| run: npm run test:frontend | |
| - name: Verify build | |
| run: npm run build | |
| build: | |
| needs: quality | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: windows-latest | |
| platform: win | |
| - os: macos-latest | |
| platform: mac | |
| - os: ubuntu-latest | |
| platform: linux | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| package-lock.json | |
| frontend/package-lock.json | |
| server/package-lock.json | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Install frontend dependencies | |
| run: npm ci | |
| working-directory: ./frontend | |
| - name: Install server dependencies | |
| run: npm ci | |
| working-directory: ./server | |
| - name: Build and Package | |
| run: npm run build && npx electron-builder --${{ matrix.platform }} --publish never | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: test-${{ matrix.platform }}-${{ github.sha }} | |
| path: release/* | |
| if-no-files-found: error | |
| retention-days: 7 |