File tree Expand file tree Collapse file tree 2 files changed +26
-26
lines changed Expand file tree Collapse file tree 2 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -321,31 +321,6 @@ workflows:
321
321
requires :
322
322
- setup
323
323
324
- - e2e-tests :
325
- name : e2e-cli-<< matrix.subset >>
326
- nodeversion : *default_nodeversion_major
327
- matrix :
328
- parameters :
329
- subset : *all_e2e_subsets
330
- filters :
331
- branches :
332
- ignore :
333
- - main
334
- - /\d+\.\d+\.x/
335
- requires :
336
- - build
337
-
338
- - e2e-tests :
339
- name : e2e-cli-node-<<matrix.nodeversion>>-<< matrix.subset >>
340
- matrix :
341
- alias : e2e-cli
342
- parameters :
343
- nodeversion : *all_nodeversion_major
344
- subset : *all_e2e_subsets
345
- requires :
346
- - build
347
- << : *only_release_branches
348
-
349
324
- e2e-tests :
350
325
name : e2e-snapshots-<< matrix.subset >>
351
326
nodeversion : *default_nodeversion_major
@@ -380,4 +355,4 @@ workflows:
380
355
<< : *only_builds_branches
381
356
requires :
382
357
- setup
383
- - e2e-cli
358
+ - e2e-cli-win
Original file line number Diff line number Diff line change @@ -100,3 +100,28 @@ jobs:
100
100
- if : matrix.version != env.defaultVersion
101
101
name : Run tests for non-default node version
102
102
run : yarn bazel test --test_tag_filters=node18,-node18-broken //packages/...
103
+
104
+ e2e :
105
+ strategy :
106
+ matrix :
107
+ os : [ubuntu-latest]
108
+ node : [16, 18]
109
+ subset : [npm, yarn, esbuild]
110
+ shard : [0, 1, 2, 3]
111
+ exclude :
112
+ # Exclude Node.js v16 when running on a PR
113
+ - node : ${{ github.event_name != 'pull_request' && 'none' || '16' }}
114
+ runs-on : ${{ matrix.os }}
115
+ steps :
116
+ - name : Initialize environment
117
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@0109d498b0f6aae418ed4924a5e5c65695f0ac61
118
+ with :
119
+ fetch-depth : 1
120
+ - name : Install node modules
121
+ run : yarn install --frozen-lockfile
122
+ - name : Setup Bazel
123
+ uses : angular/dev-infra/github-actions/bazel/setup@0109d498b0f6aae418ed4924a5e5c65695f0ac61
124
+ - name : Setup Bazel RBE
125
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@0109d498b0f6aae418ed4924a5e5c65695f0ac61
126
+ - name : Run CLI E2E tests
127
+ run : yarn bazel test --define=E2E_SHARD_TOTAL=4 --define=E2E_SHARD_INDEX=${{ matrix.shard }} --config=e2e //tests/legacy-cli:e2e.${{ matrix.subset }}_node${{ matrix.node }}
You can’t perform that action at this time.
0 commit comments