Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ permissions:
jobs:
chromatic:
name: πŸ“š Chromatic
if: github.repository == 'npmx-dev/npmx.dev'
runs-on: ubuntu-24.04-arm

steps:
Expand Down
84 changes: 43 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lunaria.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
jobs:
lunaria-overview:
name: 🌝 Generate Lunaria Overview
if: github.repository == 'npmx-dev/npmx.dev'
runs-on: ubuntu-24.04-arm
permissions:
contents: read
Expand All @@ -36,4 +37,4 @@
sfw: true

- name: Generate Lunaria Overview
uses: lunariajs/action@4911ad0736d1e3b20af4cb70f5079aea2327ed8e # astro-docs

Check warning on line 40 in .github/workflows/lunaria.yml

View workflow job for this annotation

GitHub Actions / 🌈 GitHub Actions security analysis

stale-action-refs

lunaria.yml:40: commit hash does not point to a Git tag: this step
2 changes: 1 addition & 1 deletion .github/workflows/mirror-tangled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
luc122c marked this conversation as resolved.

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/welcome-open.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
greeting:
name: Greet First-Time Contributors
if: github.repository == 'npmx-dev/npmx.dev'
runs-on: ubuntu-latest
runs-on: ubuntu-slim
Comment thread
luc122c marked this conversation as resolved.
Outdated
permissions:
pull-requests: write # post first-time contributor greeting comments
steps:
Expand Down
Loading