|
31 | 31 |
|
32 | 32 | - uses: actions/checkout@v2 |
33 | 33 |
|
34 | | - - name: Remove other aspects |
| 34 | + - name: Remove v11 |
35 | 35 | run: bit remove angular-v11 -s -f |
36 | 36 |
|
| 37 | + - name: Remove v10 |
| 38 | + run: bit remove angular-v10 -s -f |
| 39 | + |
37 | 40 | - name: Add example app |
38 | 41 | run: bit add examples/demo-lib-v12 |
39 | 42 |
|
|
77 | 80 |
|
78 | 81 | - uses: actions/checkout@v2 |
79 | 82 |
|
80 | | - - name: Remove other aspects |
| 83 | + - name: Remove v12 |
81 | 84 | run: bit remove angular-v12 -s -f |
82 | 85 |
|
| 86 | + - name: Remove v10 |
| 87 | + run: bit remove angular-v10 -s -f |
| 88 | + |
83 | 89 | - name: Add example app |
84 | 90 | run: bit add examples/demo-lib-v11 |
85 | 91 |
|
@@ -108,3 +114,52 @@ jobs: |
108 | 114 | with: |
109 | 115 | name: debug-log |
110 | 116 | path: $HOME/Library/Caches/Bit/logs |
| 117 | + |
| 118 | + # Test angular-v10 |
| 119 | + v10: |
| 120 | + runs-on: ubuntu-latest |
| 121 | + if: "!contains(github.event.head_commit.message, 'skip-ci')" |
| 122 | + container: |
| 123 | + image: docker://bitcli/bit:latest |
| 124 | + steps: |
| 125 | + - uses: teambit/setup-action@v1 |
| 126 | + with: |
| 127 | + name: angular-github-actions |
| 128 | + BIT_TOKEN: ${{ env.BIT_TOKEN }} |
| 129 | + |
| 130 | + - uses: actions/checkout@v2 |
| 131 | + |
| 132 | + - name: Remove v12 |
| 133 | + run: bit remove angular-v12 -s -f |
| 134 | + |
| 135 | + - name: Remove v11 |
| 136 | + run: bit remove angular-v11 -s -f |
| 137 | + |
| 138 | + - name: Add example app |
| 139 | + run: bit add examples/demo-lib-v10 |
| 140 | + |
| 141 | + - name: Install dependencies |
| 142 | + run: bit install |
| 143 | + |
| 144 | + # Compile the aspects |
| 145 | + - name: Bit compile aspects |
| 146 | + run: bit compile ng-packagr angular-eslint-config angular angular-v10 --log |
| 147 | + |
| 148 | + # Run bit link to regenerate the package.json of the example component |
| 149 | + - name: Bit link |
| 150 | + run: bit link |
| 151 | + |
| 152 | + # Compile the example component |
| 153 | + - name: Bit compile example |
| 154 | + run: bit compile demo-lib-v10 --log |
| 155 | + |
| 156 | + - name: Bit test |
| 157 | + run: bit test --log |
| 158 | + |
| 159 | + - name: Bit build |
| 160 | + run: bit build --log |
| 161 | + |
| 162 | + - uses: actions/upload-artifact@v2 |
| 163 | + with: |
| 164 | + name: debug-log |
| 165 | + path: $HOME/Library/Caches/Bit/logs |
0 commit comments