feat(ui): enhance git graph visualization with merge info and refs #69
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: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install xvfb | |
| run: sudo apt-get update && sudo apt-get install -y xvfb | |
| - name: Lint | |
| run: npm run lint | |
| - name: Compile Extension | |
| run: npm run compile | |
| - name: Compile Integration Tests | |
| run: npm run compile:tests | |
| - name: Run unit tests | |
| run: npm run test:unit | |
| - name: Generate unit coverage reports | |
| run: npm run coverage:unit | |
| - name: Run integration tests | |
| run: xvfb-run -a npm run test:integration | |
| - name: Generate integration coverage reports | |
| run: xvfb-run -a npm run coverage:integration | |
| - name: List coverage files | |
| run: | | |
| echo "Unit coverage files:" | |
| ls -l ./coverage/unit | |
| echo "Integration coverage files:" | |
| ls -l ./coverage/integration | |
| - name: Upload unit coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage/unit/lcov.info | |
| flags: unit | |
| disable_search: true | |
| - name: Upload integration coverage | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage/integration/lcov.info | |
| flags: integration | |
| disable_search: true |