Skip to content

Commit c94c46e

Browse files
committed
chore(ci): improve workflow with parallel jobs and better naming
1 parent 350f545 commit c94c46e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77

88
jobs:
99
lint:
10+
name: Lint Code
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v4
@@ -26,10 +27,11 @@ jobs:
2627
- name: Install dependencies
2728
run: pnpm install --frozen-lockfile || pnpm install
2829

29-
- run: pnpm run lint
30+
- name: Run ESLint
31+
run: pnpm run lint
3032

3133
build:
32-
needs: lint
34+
name: Build (Node ${{ matrix.node-version }})
3335
runs-on: ubuntu-latest
3436
strategy:
3537
matrix:
@@ -52,10 +54,11 @@ jobs:
5254
- name: Install dependencies
5355
run: pnpm install --frozen-lockfile || pnpm install
5456

55-
- run: pnpm run build
57+
- name: Build SDK
58+
run: pnpm run build
5659

5760
test:
58-
needs: build
61+
name: Run Tests
5962
runs-on: ubuntu-latest
6063
steps:
6164
- uses: actions/checkout@v4
@@ -75,4 +78,5 @@ jobs:
7578
- name: Install dependencies
7679
run: pnpm install --frozen-lockfile || pnpm install
7780

78-
- run: pnpm run test
81+
- name: Run Jest tests
82+
run: pnpm run test

0 commit comments

Comments
 (0)