Replace dual-bar with queue bridge for flash-free bottom bar #1529
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: Web Tests | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| paths: | |
| - 'packages/web/**' | |
| - 'packages/shared-schema/**' | |
| - 'packages/db/**' | |
| - '.github/workflows/test.yml' | |
| pull_request: | |
| branches: [ main, develop ] | |
| paths: | |
| - 'packages/web/**' | |
| - 'packages/shared-schema/**' | |
| - 'packages/db/**' | |
| - '.github/workflows/test.yml' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Build shared-schema | |
| run: npm run build --workspace=@boardsesh/shared-schema | |
| - name: Build db package | |
| run: npm run build --workspace=@boardsesh/db | |
| - name: Run linting | |
| run: npm run lint | |
| - name: Run type checking | |
| run: npx tsc --noEmit | |
| working-directory: packages/web | |
| - name: Run tests | |
| run: npm run test:run --workspace=@boardsesh/web | |
| test-coverage: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Build shared-schema | |
| run: npm run build --workspace=@boardsesh/shared-schema | |
| - name: Build db package | |
| run: npm run build --workspace=@boardsesh/db | |
| - name: Run tests with coverage | |
| run: npm run test:run --workspace=@boardsesh/web -- --coverage | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| if: success() | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./packages/web/coverage/lcov.info |