diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index b66bd886ae..1f8f4832f9 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -16,6 +16,7 @@ permissions: jobs: chromatic: name: 📚 Chromatic + if: github.repository == 'npmx-dev/npmx.dev' runs-on: ubuntu-24.04-arm steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ef968ad3a..5b3b8fe3f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,26 +77,27 @@ jobs: - name: 🧪 Unit tests run: vp test --project unit --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml - - name: ⬆︎ Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 - with: - disable_search: true - files: test-report.junit.xml - flags: unit - report_type: test_results - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - - name: ⬆︎ Upload coverage reports to Codecov - if: ${{ !cancelled() }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 - with: - disable_search: true - files: coverage/clover.xml - flags: unit - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - parallel: + - name: ⬆︎ Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + with: + disable_search: true + files: test-report.junit.xml + flags: unit + report_type: test_results + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: ⬆︎ Upload coverage reports to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + with: + disable_search: true + files: coverage/clover.xml + flags: unit + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} test: name: 🧪 Component tests @@ -119,26 +120,27 @@ jobs: - name: 🧪 Component tests run: vp test --project nuxt --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml - - name: ⬆︎ Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 - with: - disable_search: true - files: test-report.junit.xml - flags: component - report_type: test_results - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - - name: ⬆︎ Upload coverage reports to Codecov - if: ${{ !cancelled() }} - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 - with: - disable_search: true - files: coverage/clover.xml - flags: component - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - parallel: + - name: ⬆︎ Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + with: + disable_search: true + files: test-report.junit.xml + flags: component + report_type: test_results + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: ⬆︎ Upload coverage reports to Codecov + if: ${{ !cancelled() }} + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + with: + disable_search: true + files: coverage/clover.xml + flags: component + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} browser: name: 🖥️ Browser tests @@ -234,7 +236,7 @@ jobs: i18n: name: 🌐 i18n validation - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/deploy-canary.yml b/.github/workflows/deploy-canary.yml index 54099c4943..3807e47c9d 100644 --- a/.github/workflows/deploy-canary.yml +++ b/.github/workflows/deploy-canary.yml @@ -15,7 +15,7 @@ jobs: deploy-canary: if: github.repository == 'npmx-dev/npmx.dev' name: 🚀 Deploy to canary (main.npmx.dev) - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: diff --git a/.github/workflows/lunaria.yml b/.github/workflows/lunaria.yml index bbca2f3f86..6be7535e0e 100644 --- a/.github/workflows/lunaria.yml +++ b/.github/workflows/lunaria.yml @@ -15,6 +15,7 @@ permissions: {} jobs: lunaria-overview: name: 🌝 Generate Lunaria Overview + if: github.repository == 'npmx-dev/npmx.dev' runs-on: ubuntu-24.04-arm permissions: contents: read diff --git a/.github/workflows/mirror-tangled.yml b/.github/workflows/mirror-tangled.yml index cfabd9ea83..39d5b5a0b5 100644 --- a/.github/workflows/mirror-tangled.yml +++ b/.github/workflows/mirror-tangled.yml @@ -18,7 +18,7 @@ jobs: mirror: name: 🕸️ Mirror to Tangled if: ${{ github.repository == 'npmx-dev/npmx.dev' }} - runs-on: ubuntu-24.04-arm + runs-on: ubuntu-slim steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index a02e7eea3e..78a60f7acc 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -15,7 +15,7 @@ permissions: {} jobs: stale-bugs: name: 🧹 Mark stale bug issues - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: issues: write # mark and close stale bug issues steps: @@ -33,7 +33,7 @@ jobs: stale-prs: name: 🧹 Mark stale pull requests - runs-on: ubuntu-latest + runs-on: ubuntu-slim permissions: pull-requests: write # mark and close stale pull requests steps: