Skip to content

Revert "fix(pixel-utils): use tsup for bundling again" #6575

Revert "fix(pixel-utils): use tsup for bundling again"

Revert "fix(pixel-utils): use tsup for bundling again" #6575

Workflow file for this run

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 }}