4040 - name : Remove v9
4141 run : bit remove angular-v9 -s -f
4242
43+ - name : Remove v8
44+ run : bit remove angular-v8 -s -f
45+
4346 - name : Add example app
4447 run : bit add examples/demo-lib-v12
4548
9295 - name : Remove v9
9396 run : bit remove angular-v9 -s -f
9497
98+ - name : Remove v8
99+ run : bit remove angular-v8 -s -f
100+
95101 - name : Add example app
96102 run : bit add examples/demo-lib-v11
97103
@@ -144,6 +150,9 @@ jobs:
144150 - name : Remove v9
145151 run : bit remove angular-v9 -s -f
146152
153+ - name : Remove v8
154+ run : bit remove angular-v8 -s -f
155+
147156 - name : Add example app
148157 run : bit add examples/demo-lib-v10
149158
@@ -196,6 +205,9 @@ jobs:
196205 - name : Remove v10
197206 run : bit remove angular-v10 -s -f
198207
208+ - name : Remove v8
209+ run : bit remove angular-v8 -s -f
210+
199211 - name : Add example app
200212 run : bit add examples/demo-lib-v9
201213
@@ -212,7 +224,62 @@ jobs:
212224
213225 # Compile the example component
214226 - name : Bit compile example
215- run : bit compile demo-lib-v10 --log
227+ run : bit compile demo-lib-v9 --log
228+
229+ - name : Bit test
230+ run : bit test --log
231+
232+ - name : Bit build
233+ run : bit build --log
234+
235+ - uses : actions/upload-artifact@v2
236+ with :
237+ name : debug-log
238+ path : $HOME/Library/Caches/Bit/logs
239+
240+ # Test angular-v8
241+ v8 :
242+ runs-on : ubuntu-latest
243+ if : " !contains(github.event.head_commit.message, 'skip-ci')"
244+ container :
245+ image : docker://bitcli/bit:latest
246+ steps :
247+ - uses : teambit/setup-action@v1
248+ with :
249+ name : angular-github-actions
250+ BIT_TOKEN : ${{ env.BIT_TOKEN }}
251+
252+ - uses : actions/checkout@v2
253+
254+ - name : Remove v12
255+ run : bit remove angular-v12 -s -f
256+
257+ - name : Remove v11
258+ run : bit remove angular-v11 -s -f
259+
260+ - name : Remove v10
261+ run : bit remove angular-v10 -s -f
262+
263+ - name : Remove v9
264+ run : bit remove angular-v9 -s -f
265+
266+ - name : Add example app
267+ run : bit add examples/demo-lib-v8
268+
269+ - name : Install dependencies
270+ run : bit install
271+
272+ # Compile the aspects
273+ - name : Bit compile aspects
274+ run : bit compile ng-packagr angular-eslint-config angular angular-v8 --log
275+
276+ # Run bit link to regenerate the package.json of the example component
277+ - name : Bit link
278+ run : bit link
279+
280+ # Compile the example component
281+ - name : Bit compile example
282+ run : bit compile demo-lib-v8 --log
216283
217284 - name : Bit test
218285 run : bit test --log
0 commit comments