|
37 | 37 | - name: Remove v10 |
38 | 38 | run: bit remove angular-v10 -s -f |
39 | 39 |
|
| 40 | + - name: Remove v9 |
| 41 | + run: bit remove angular-v9 -s -f |
| 42 | + |
40 | 43 | - name: Add example app |
41 | 44 | run: bit add examples/demo-lib-v12 |
42 | 45 |
|
|
86 | 89 | - name: Remove v10 |
87 | 90 | run: bit remove angular-v10 -s -f |
88 | 91 |
|
| 92 | + - name: Remove v9 |
| 93 | + run: bit remove angular-v9 -s -f |
| 94 | + |
89 | 95 | - name: Add example app |
90 | 96 | run: bit add examples/demo-lib-v11 |
91 | 97 |
|
@@ -135,6 +141,9 @@ jobs: |
135 | 141 | - name: Remove v11 |
136 | 142 | run: bit remove angular-v11 -s -f |
137 | 143 |
|
| 144 | + - name: Remove v9 |
| 145 | + run: bit remove angular-v9 -s -f |
| 146 | + |
138 | 147 | - name: Add example app |
139 | 148 | run: bit add examples/demo-lib-v10 |
140 | 149 |
|
@@ -163,3 +172,55 @@ jobs: |
163 | 172 | with: |
164 | 173 | name: debug-log |
165 | 174 | path: $HOME/Library/Caches/Bit/logs |
| 175 | + |
| 176 | + # Test angular-v9 |
| 177 | + v9: |
| 178 | + runs-on: ubuntu-latest |
| 179 | + if: "!contains(github.event.head_commit.message, 'skip-ci')" |
| 180 | + container: |
| 181 | + image: docker://bitcli/bit:latest |
| 182 | + steps: |
| 183 | + - uses: teambit/setup-action@v1 |
| 184 | + with: |
| 185 | + name: angular-github-actions |
| 186 | + BIT_TOKEN: ${{ env.BIT_TOKEN }} |
| 187 | + |
| 188 | + - uses: actions/checkout@v2 |
| 189 | + |
| 190 | + - name: Remove v12 |
| 191 | + run: bit remove angular-v12 -s -f |
| 192 | + |
| 193 | + - name: Remove v11 |
| 194 | + run: bit remove angular-v11 -s -f |
| 195 | + |
| 196 | + - name: Remove v10 |
| 197 | + run: bit remove angular-v10 -s -f |
| 198 | + |
| 199 | + - name: Add example app |
| 200 | + run: bit add examples/demo-lib-v9 |
| 201 | + |
| 202 | + - name: Install dependencies |
| 203 | + run: bit install |
| 204 | + |
| 205 | + # Compile the aspects |
| 206 | + - name: Bit compile aspects |
| 207 | + run: bit compile ng-packagr angular-eslint-config angular angular-v9 --log |
| 208 | + |
| 209 | + # Run bit link to regenerate the package.json of the example component |
| 210 | + - name: Bit link |
| 211 | + run: bit link |
| 212 | + |
| 213 | + # Compile the example component |
| 214 | + - name: Bit compile example |
| 215 | + run: bit compile demo-lib-v10 --log |
| 216 | + |
| 217 | + - name: Bit test |
| 218 | + run: bit test --log |
| 219 | + |
| 220 | + - name: Bit build |
| 221 | + run: bit build --log |
| 222 | + |
| 223 | + - uses: actions/upload-artifact@v2 |
| 224 | + with: |
| 225 | + name: debug-log |
| 226 | + path: $HOME/Library/Caches/Bit/logs |
0 commit comments