Skip to content

Commit 4277857

Browse files
authored
Use better names for CI workflow, similar to Integration Tests workflow (#15378)
This PR improves the CI workflow names such that they are a bit more pretty. E.g.: ```diff - CI / tests (20, namespace-profile-default, true) + CI / Linux ```
1 parent 2a29c29 commit 4277857

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/ci.yml

+18-5
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,32 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
node-version: [20]
17-
runner: [namespace-profile-default, windows-latest, macos-14]
17+
runner:
18+
- name: Windows
19+
os: windows-latest
20+
21+
- name: Linux
22+
os: namespace-profile-default
23+
24+
- name: macOS
25+
os: macos-14
26+
1827
# Exclude windows and macos from being built on feature branches
1928
on-next-branch:
2029
- ${{ github.ref == 'refs/heads/next' }}
2130
exclude:
2231
- on-next-branch: false
23-
runner: windows-latest
32+
runner:
33+
name: Windows
2434
- on-next-branch: false
25-
runner: macos-14
35+
runner:
36+
name: macOS
2637

27-
runs-on: ${{ matrix.runner }}
38+
runs-on: ${{ matrix.runner.os }}
2839
timeout-minutes: 30
2940

41+
name: ${{ matrix.runner.name }}
42+
3043
steps:
3144
- uses: actions/checkout@v4
3245
- uses: pnpm/action-setup@v4
@@ -72,7 +85,7 @@ jobs:
7285
- name: Lint
7386
run: pnpm run lint
7487
# Only lint on linux to avoid \r\n line ending errors
75-
if: matrix.runner == 'ubuntu-latest'
88+
if: matrix.runner.os == 'ubuntu-latest'
7689

7790
- name: Test
7891
run: pnpm run test

0 commit comments

Comments
 (0)