Skip to content

Commit 4cdc66b

Browse files
committed
ci: remove single value os matrix field from E2E jobs
Since the `os` matrix field only ever has a single value, there is no need to include it in the matrix itself. This also shortens the display name by removing the otherwise static value from each matrix job entry.
1 parent 9f28807 commit 4cdc66b

File tree

2 files changed

+7
-14
lines changed

2 files changed

+7
-14
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,10 @@ jobs:
7878
strategy:
7979
fail-fast: false
8080
matrix:
81-
os: [ubuntu-latest]
8281
node: [20, 22, 24]
8382
subset: [esbuild, webpack]
8483
shard: [0, 1, 2, 3, 4, 5]
85-
runs-on: ${{ matrix.os }}
84+
runs-on: ubuntu-latest
8685
steps:
8786
- name: Initialize environment
8887
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a
@@ -132,11 +131,10 @@ jobs:
132131
strategy:
133132
fail-fast: false
134133
matrix:
135-
os: [windows-2025]
136134
node: [22]
137135
subset: [esbuild, webpack]
138136
shard: [0, 1, 2, 3, 4, 5]
139-
runs-on: ${{ matrix.os }}
137+
runs-on: windows-2025
140138
steps:
141139
- name: Initialize environment
142140
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a
@@ -160,11 +158,10 @@ jobs:
160158
strategy:
161159
fail-fast: false
162160
matrix:
163-
os: [ubuntu-latest]
164161
node: [22]
165162
subset: [yarn, pnpm, bun]
166163
shard: [0, 1, 2]
167-
runs-on: ${{ matrix.os }}
164+
runs-on: ubuntu-latest
168165
steps:
169166
- name: Initialize environment
170167
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a
@@ -185,11 +182,10 @@ jobs:
185182
strategy:
186183
fail-fast: false
187184
matrix:
188-
os: [ubuntu-latest]
189185
node: [22]
190186
subset: [esbuild, webpack]
191187
shard: [0, 1, 2, 3, 4, 5]
192-
runs-on: ${{ matrix.os }}
188+
runs-on: ubuntu-latest
193189
steps:
194190
- name: Initialize environment
195191
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a

.github/workflows/pr.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,10 @@ jobs:
108108
strategy:
109109
fail-fast: false
110110
matrix:
111-
os: [ubuntu-latest]
112111
node: [22]
113112
subset: [esbuild, webpack]
114113
shard: [0, 1, 2, 3, 4, 5]
115-
runs-on: ${{ matrix.os }}
114+
runs-on: ubuntu-latest
116115
steps:
117116
- name: Initialize environment
118117
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a
@@ -178,11 +177,10 @@ jobs:
178177
strategy:
179178
fail-fast: false
180179
matrix:
181-
os: [ubuntu-latest]
182180
node: [22]
183181
subset: [yarn, pnpm, bun]
184182
shard: [0, 1, 2]
185-
runs-on: ${{ matrix.os }}
183+
runs-on: ubuntu-latest
186184
steps:
187185
- name: Initialize environment
188186
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a
@@ -201,11 +199,10 @@ jobs:
201199
strategy:
202200
fail-fast: false
203201
matrix:
204-
os: [ubuntu-latest]
205202
node: [22]
206203
subset: [esbuild, webpack]
207204
shard: [0, 1, 2, 3, 4, 5]
208-
runs-on: ${{ matrix.os }}
205+
runs-on: ubuntu-latest
209206
steps:
210207
- name: Initialize environment
211208
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@73051ae248ba64911a8e7e66536d8c99ba07ef2a

0 commit comments

Comments
 (0)