21
21
runs-on : ubuntu-latest
22
22
steps :
23
23
- name : Initialize environment
24
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
24
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
25
25
with :
26
26
cache-node-modules : true
27
27
- name : Install node modules
@@ -41,13 +41,15 @@ jobs:
41
41
runs-on : ubuntu-latest
42
42
steps :
43
43
- name : Initialize environment
44
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
44
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
45
45
with :
46
46
cache-node-modules : true
47
47
- name : Setup Bazel
48
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
48
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
49
49
- name : Setup Bazel RBE
50
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
50
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
51
+ with :
52
+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
51
53
- name : Install node modules
52
54
run : yarn install --frozen-lockfile
53
55
- name : Run unit tests
@@ -59,49 +61,69 @@ jobs:
59
61
runs-on : ubuntu-latest-4core
60
62
steps :
61
63
- name : Initialize environment
62
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
64
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
63
65
with :
64
66
cache-node-modules : true
65
67
- name : Setup Bazel
66
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
68
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
67
69
- name : Setup Bazel Remote Caching
68
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
70
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
71
+ with :
72
+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
69
73
- name : Install node modules
70
74
run : yarn install --frozen-lockfile --network-timeout 100000
71
75
- name : Run CI tests for framework
72
76
run : yarn test:ci
73
77
78
+ integration-tests :
79
+ runs-on : ubuntu-latest-4core
80
+ steps :
81
+ - name : Initialize environment
82
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
83
+ with :
84
+ cache-node-modules : true
85
+ - name : Setup Bazel
86
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
87
+ - name : Setup Bazel Remote Caching
88
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
89
+ with :
90
+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
91
+ - name : Install node modules
92
+ run : yarn install --frozen-lockfile --network-timeout 100000
93
+ - name : Run integration CI tests for framework
94
+ run : yarn integration-tests:ci
95
+
74
96
adev :
75
97
runs-on :
76
98
labels : ubuntu-latest-4core
77
99
steps :
78
100
- name : Initialize environment
79
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
101
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
80
102
- name : Setup Bazel
81
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
103
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
82
104
- name : Setup Bazel RBE
83
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
105
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
106
+ with :
107
+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
84
108
- name : Install node modules
85
109
run : yarn install --frozen-lockfile
110
+ - name : Run tests
111
+ run : yarn bazel test //adev/...
86
112
- name : Build adev in fast mode to ensure it continues to work
87
113
run : yarn bazel build //adev:build --config=release
88
- # TODO: re-enable all tests once the next release is shipped
89
- # Tests are broken because of https://github.com/angular/angular/issues/54858
90
- - name : Run tests
91
- run : yarn bazel test //adev:test # //adev/...
92
114
93
115
publish-snapshots :
94
116
runs-on :
95
117
labels : ubuntu-latest
96
118
steps :
97
119
- name : Initialize environment
98
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
120
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
99
121
with :
100
122
cache-node-modules : true
101
123
- name : Setup Bazel
102
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
124
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
103
125
- name : Setup Bazel RBE
104
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
126
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
105
127
- name : Install node modules
106
128
run : yarn install --frozen-lockfile
107
129
- run : echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
@@ -113,17 +135,19 @@ jobs:
113
135
labels : ubuntu-latest-4core
114
136
steps :
115
137
- name : Initialize environment
116
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
138
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
117
139
with :
118
140
cache-node-modules : true
119
141
node-module-directories : |
120
142
./node_modules
121
143
./packages/zone.js/node_modules
122
144
./packages/zone.js/test/typings/node_modules
123
145
- name : Setup Bazel
124
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
146
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
125
147
- name : Setup Bazel RBE
126
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
148
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
149
+ with :
150
+ google_credential : ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
127
151
- name : Install node modules
128
152
run : yarn install --frozen-lockfile
129
153
- run : |
@@ -160,7 +184,7 @@ jobs:
160
184
SAUCE_TUNNEL_IDENTIFIER : angular-framework-${{ github.run_number }}
161
185
steps :
162
186
- name : Initialize environment
163
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
187
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
164
188
with :
165
189
cache-node-modules : true
166
190
- name : Install node modules
@@ -173,11 +197,11 @@ jobs:
173
197
runs-on : ubuntu-latest
174
198
steps :
175
199
- name : Initialize environment
176
- uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@002a34e9875f55bf1850fb57d34261b33b2fd492
200
+ uses : angular/dev-infra/github-actions/npm/checkout-and-setup-node@35131fc980ce5451fb89d8c033efc827ad39ca68
177
201
- name : Setup Bazel
178
- uses : angular/dev-infra/github-actions/bazel/setup@002a34e9875f55bf1850fb57d34261b33b2fd492
202
+ uses : angular/dev-infra/github-actions/bazel/setup@35131fc980ce5451fb89d8c033efc827ad39ca68
179
203
- name : Setup Bazel RBE
180
- uses : angular/dev-infra/github-actions/bazel/configure-remote@002a34e9875f55bf1850fb57d34261b33b2fd492
204
+ uses : angular/dev-infra/github-actions/bazel/configure-remote@35131fc980ce5451fb89d8c033efc827ad39ca68
181
205
- name : Install node modules
182
206
run : yarn install --frozen-lockfile
183
207
- name : Build adev to ensure it continues to work
0 commit comments