Revert "fix(pixel-utils): use tsup for bundling again" #6575
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 | |
| # only on push in branches | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| # Cancel in-progress runs when a new workflow is triggered | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/actions/setup-project | |
| - name: Run tests | |
| run: pnpm test | |
| - name: Upload coverage reports | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| sonar: | |
| name: Sonarqube Analysis | |
| # Only run sonar if we're not on a renovate or release-please branch | |
| if: ${{ !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.ref, 'refs/heads/release-please') }} | |
| needs: [test] | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # Required for Sonarqube | |
| - name: Download coverage report | |
| uses: actions/download-artifact@v7 | |
| with: | |
| name: coverage-report | |
| path: coverage/ | |
| - uses: SonarSource/sonarqube-scan-action@v7 | |
| env: | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |