Skip to content

Commit d38e7e6

Browse files
style: add emojis to CI workflow\n\n- Add descriptive emojis to job and step names\n- Make workflow more visually appealing
1 parent daaea5e commit d38e7e6

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/CI.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: 🚀 CI
22
env:
33
DEBUG: napi:*
44
APP_NAME: cel-typescript
@@ -14,6 +14,7 @@ on:
1414

1515
jobs:
1616
build:
17+
name: 🔨 Build
1718
if: "!contains(github.event.head_commit.message, 'skip ci')"
1819
strategy:
1920
fail-fast: false
@@ -27,7 +28,7 @@ jobs:
2728
strip -x *.node
2829
2930
30-
name: stable - ${{ matrix.settings.target }} - node@18
31+
name: 🛠️ stable - ${{ matrix.settings.target }} - node@18
3132
runs-on: ${{ matrix.settings.host }}
3233

3334
steps:
@@ -58,7 +59,7 @@ jobs:
5859
with:
5960
targets: ${{ matrix.settings.target }}
6061

61-
- name: Cache cargo
62+
- name: 💾 Cache cargo
6263
uses: actions/cache@v4
6364
with:
6465
path: |
@@ -74,7 +75,7 @@ jobs:
7475
with:
7576
version: 0.11.0
7677

77-
- name: Setup toolchain
78+
- name: 🔧 Setup toolchain
7879
if: ${{ matrix.settings.docker }}
7980
uses: actions-rs/toolchain@v1
8081
with:
@@ -91,7 +92,7 @@ jobs:
9192
- name: Install dependencies
9293
run: npm ci
9394

94-
- name: Build in docker
95+
- name: 🐳 Build in docker
9596
uses: addnab/docker-run-action@v3
9697
if: ${{ matrix.settings.docker }}
9798
with:
@@ -104,7 +105,7 @@ jobs:
104105
run: ${{ matrix.settings.build }}
105106
shell: bash
106107

107-
- name: Debug - List files after build
108+
- name: 🔍 Debug - List files after build
108109
run: |
109110
echo "Current directory:"
110111
pwd
@@ -114,7 +115,7 @@ jobs:
114115
find . -name "*.node"
115116
shell: bash
116117

117-
- name: Upload artifact
118+
- name: 📤 Upload artifact
118119
uses: actions/upload-artifact@v4
119120
with:
120121
name: bindings-${{ matrix.settings.target }}
@@ -125,7 +126,7 @@ jobs:
125126
retention-days: 1
126127

127128
test:
128-
name: Test ${{ matrix.platform.name }} - node@${{ matrix.node }}
129+
name: 🧪 Test ${{ matrix.platform.name }} - node@${{ matrix.node }}
129130
needs:
130131
- build
131132
strategy:
@@ -153,7 +154,7 @@ jobs:
153154
check-latest: true
154155
cache: npm
155156

156-
- name: Cache dependencies
157+
- name: 💾 Cache dependencies
157158
uses: actions/cache@v4
158159
with:
159160
path: |
@@ -171,20 +172,20 @@ jobs:
171172
- name: Install dependencies
172173
run: npm ci
173174

174-
- name: Setup QEMU
175+
- name: 🖥️ Setup QEMU
175176
if: matrix.platform.qemu
176177
uses: docker/setup-qemu-action@v3
177178
with:
178179
platforms: ${{ matrix.platform.qemu }}
179180

180-
- name: Install Android NDK
181+
- name: 📱 Install Android NDK
181182
if: matrix.platform.android
182183
run: |
183184
wget https://dl.google.com/android/repository/android-ndk-r25c-linux.zip
184185
unzip android-ndk-r25c-linux.zip
185186
echo "ANDROID_NDK_HOME=$PWD/android-ndk-r25c" >> $GITHUB_ENV
186187
187-
- name: Download artifacts
188+
- name: 📥 Download artifacts
188189
uses: actions/download-artifact@v4
189190
with:
190191
name: bindings-${{ matrix.platform.target }}
@@ -281,7 +282,7 @@ jobs:
281282
npm pack --dry-run
282283
283284
publish:
284-
name: ${{ github.event_name == 'pull_request' && 'Publish (Dry Run)' || 'Publish' }}
285+
name: ${{ github.event_name == 'pull_request' && '🔍 Publish (Dry Run)' || '📦 Publish' }}
285286
runs-on: ubuntu-latest
286287
permissions:
287288
contents: read
@@ -350,17 +351,17 @@ jobs:
350351
echo "Package contents:"
351352
npm pack --dry-run
352353
353-
- name: Configure npm
354+
- name: ⚙️ Configure npm
354355
if: github.event_name != 'pull_request'
355356
run: |
356357
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
357358
358-
- name: Publish
359+
- name: 🚀 Publish
359360
if: github.event_name != 'pull_request' && env.NPM_TOKEN != ''
360361
env:
361362
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
362363
run: npm publish --access public --provenance
363364

364-
- name: Dry Run Publish
365+
- name: 🔍 Dry Run Publish
365366
if: github.event_name == 'pull_request'
366367
run: npm publish --dry-run

0 commit comments

Comments
 (0)