Skip to content

Commit

Permalink
ci: put icons on job names instead of workflow names to improve reada…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
bgatellier committed Jan 14, 2024
1 parent 0189a52 commit aaaf858
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🧹 Lint & changelog
name: Lint & changelog

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
lint:
name: Lint code
name: 🧹 Lint code
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
Expand All @@ -33,7 +33,7 @@ jobs:
run: node common/scripts/install-run-rush.js lint --verbose

changelog:
name: Checks for changelogs
name: 📝 Checks for changelogs
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# then merged it in the main branch once the publication has been done.
#

name: 🚀 Publish packages
name: Publish packages

on:
workflow_dispatch:
Expand Down Expand Up @@ -43,7 +43,7 @@ env:
jobs:
simulate:
if: inputs.PUBLICATION_MODE == 'simulate'
name: Simulate a publication to npmjs.org with the version policy ${{ inputs.VERSION_POLICY }}
name: 🚀 Simulate a publication to npmjs.org with the version policy ${{ inputs.VERSION_POLICY }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:

publish:
if: inputs.PUBLICATION_MODE == 'publish'
name: Publish to npmjs.org with the version policy ${{ inputs.VERSION_POLICY }}
name: 🚀 Publish to npmjs.org with the version policy ${{ inputs.VERSION_POLICY }}
runs-on: ubuntu-latest
defaults:
run:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 🐛 Test
name: Tests

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
test:
name: Test
name: 🐛 Run tests
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
Expand All @@ -31,11 +31,11 @@ jobs:
- name: Build projects
run: node common/scripts/install-run-rush.js rebuild

- name: Test
- name: Run tests
if: ${{ matrix.node_version != '18' }}
run: node common/scripts/install-run-rush.js test

- name: Test and generate coverage reports
- name: Run tests and generate coverage reports
if: ${{ matrix.node_version == '18' }}
run: node common/scripts/install-run-rush.js test --coverage

Expand All @@ -48,9 +48,10 @@ jobs:
retention-days: 1

coverage:
name: Upload code coverage reports to Codecov
runs-on: ubuntu-latest
needs: test
name: ⬆️ Upload code coverage reports to Codecov
runs-on: ubuntu-latest
timeout-minutes: 5
defaults:
run:
shell: bash
Expand Down

0 comments on commit aaaf858

Please sign in to comment.