1414 runs-on : ubuntu-latest
1515
1616 steps :
17+ - name : Check out source code
18+ uses : actions/checkout@v4
19+
1720 - name : Initialize Repo
1821 uses : ./.github/actions/src/init
1922 with :
3033
3134 outputs :
3235 bundles : ${{ steps.info.outputs.bundles }}
33- tabs : ${{ steps.info.outputs.tabs }}
3436 libs : ${{ steps.info.outputs.libs }}
37+ tabs : ${{ steps.info.outputs.tabs }}
3538
3639 libraries :
3740 name : Libaries
@@ -41,21 +44,25 @@ jobs:
4144 fail-fast : false
4245 matrix :
4346 lib : ${{ fromJson(needs.find-packages.outputs.libs) }}
47+
4448 steps :
49+ - name : Check out source code
50+ uses : actions/checkout@v4
51+
4552 - name : Initialize Repo
4653 uses : ./.github/actions/src/init
4754 with :
4855 package-name : ${{ matrix.lib.name }}
4956 playwright : ${{ matrix.lib.changes && matrix.lib.needsPlaywright }}
5057
5158 - name : Run Tests
52- if : matrix.lib.changes == 'true'
59+ if : matrix.lib.changes
5360 run : |
5461 cd ${{ matrix.lib.directory }}
5562 yarn test
5663
5764 - name : Run Auxillary Tasks
58- if : matrix.lib.changes == 'true'
65+ if : matrix.lib.changes
5966 run : |
6067 cd ${{ matrix.lib.directory }}
6168 yarn tsc
7178 tabInfo : ${{ fromJson(needs.find-packages.outputs.tabs) }}
7279
7380 steps :
81+ - name : Check out source code
82+ uses : actions/checkout@v4
83+
7484 - name : Initialize Repo
7585 uses : ./.github/actions/src/init
7686 with :
@@ -112,6 +122,9 @@ jobs:
112122 bundleInfo : ${{ fromJson(needs.find-packages.outputs.bundles) }}
113123
114124 steps :
125+ - name : Check out source code
126+ uses : actions/checkout@v4
127+
115128 - name : Initialize Repo
116129 uses : ./.github/actions/src/init
117130 with :
@@ -156,12 +169,18 @@ jobs:
156169 - tabs
157170
158171 steps :
172+ - name : Check out source code
173+ uses : actions/checkout@v4
174+
159175 - name : Initialize Repo
160176 uses : ./.github/actions/src/init
161177 with :
162178 package-name : ' @sourceacademy/modules-devserver'
163179 playwright : true
164180
181+ - name : Build all tabs
182+ run : yarn workspaces foreach -ptW --from "./src/tabs/*" run build
183+
165184 - name : Run tests
166185 run : |
167186 cd ./devserver
@@ -177,6 +196,9 @@ jobs:
177196 runs-on : ubuntu-latest
178197 needs : libraries
179198 steps :
199+ - name : Check out source code
200+ uses : actions/checkout@v4
201+
180202 - name : Initialize Repo
181203 uses : ./.github/actions/src/init
182204 with :
@@ -192,6 +214,9 @@ jobs:
192214 runs-on : ubuntu-latest
193215
194216 steps :
217+ - name : Check out source code
218+ uses : actions/checkout@v4
219+
195220 - name : Initialize Repo
196221 uses : ./.github/actions/src/init
197222 with :
0 commit comments