@@ -89,186 +89,186 @@ jobs:
8989 if : matrix.lib.changes
9090 run : yarn tsc
9191
92- tabs :
93- runs-on : ubuntu-latest
94- needs : find-packages
95- strategy :
96- fail-fast : false
97- matrix :
98- tabInfo : ${{ fromJson(needs.find-packages.outputs.tabs) }}
99- name : ${{ matrix.tabInfo.tabName }} Tab
100- steps :
101- - name : Check out source code
102- if : matrix.tabInfo.changes
103- uses : actions/checkout@v4
104-
105- - name : Initialize Repo
106- if : matrix.tabInfo.changes
107- uses : ./.github/actions/src/init
108- with :
109- package-name : ${{ matrix.tabInfo.name }}
110- playwright : ${{ matrix.tabInfo.needsPlaywright && matrix.tabInfo.changes }}
111-
112- - name : Build Tab
113- if : matrix.tabInfo.changes
114- run : |
115- cd ${{ matrix.tabInfo.directory }}
116- yarn build
117-
118- - name : Upload Tab Artifact
119- if : matrix.tabInfo.changes
120- uses : actions/upload-artifact@v4
121- with :
122- name : ${{ matrix.tabInfo.tabName }} Tab
123- path : ./build/tabs/${{ matrix.tabInfo.tabName }}.js
124-
125- - name : Run Tests
126- # https://github.com/vitest-dev/vitest/issues/5477
127- # Known Vitest issue for coverage running in browser mode
128- # Momentarily disable coverage checking on Github Actions for tabs
129- if : matrix.tabInfo.changes
130- run : |
131- cd ${{ matrix.tabInfo.directory }}
132- yarn test
133-
134- - name : Run Auxillary Tasks
135- if : matrix.tabInfo.changes
136- run : |
137- cd ${{ matrix.tabInfo.directory }}
138- yarn tsc
139-
140- bundles :
141- runs-on : ubuntu-latest
142- needs : find-packages
143- strategy :
144- fail-fast : false
145- matrix :
146- bundleInfo : ${{ fromJson(needs.find-packages.outputs.bundles) }}
147- name : ${{ matrix.bundleInfo.bundleName }} Bundle
148- steps :
149- - name : Check out source code
150- if : matrix.bundleInfo.changes
151- uses : actions/checkout@v4
152-
153- - name : Initialize Repo
154- if : matrix.bundleInfo.changes
155- uses : ./.github/actions/src/init
156- with :
157- package-name : ${{ matrix.bundleInfo.name }}
158- playwright : ${{ matrix.bundleInfo.needsPlaywright }}
159-
160- - name : Build Bundle
161- if : matrix.bundleInfo.changes
162- run : |
163- cd ${{ matrix.bundleInfo.directory }}
164- yarn build
165- yarn tsc
166-
167- - name : Upload Compiled Bundle Artifact
168- if : matrix.bundleInfo.changes
169- uses : actions/upload-artifact@v4
170- with :
171- name : ${{ matrix.bundleInfo.bundleName }} Compiled Bundle
172- path : ./build/bundles/${{ matrix.bundleInfo.bundleName }}.js
173-
174- - name : Build Bundle Docs
175- if : matrix.bundleInfo.changes
176- run : |
177- cd ${{ matrix.bundleInfo.directory }}
178- yarn buildtools build docs
179-
180- - name : Upload Compiled Bundle Docs Artifact
181- if : matrix.bundleInfo.changes
182- uses : actions/upload-artifact@v4
183- with :
184- path : ${{ matrix.bundleInfo.directory }}/dist/docs.json
185- name : ${{ matrix.bundleInfo.bundleName }} Docs
186-
187- - name : Run Tests
188- if : matrix.bundleInfo.changes
189- run : |
190- cd ${{ matrix.bundleInfo.directory }}
191- yarn test --coverage
192-
193- devserver :
194- name : Dev Server Tasks
195- runs-on : ubuntu-latest
196- needs :
197- - find-packages
198- - bundles
199- - tabs
200-
201- if : ${{ needs.find-packages.outputs.devserver.changes }}
202-
203- steps :
204- - name : Check out source code
205- uses : actions/checkout@v4
206-
207- - name : Initialize Repo
208- uses : ./.github/actions/src/init
209- with :
210- package-name : ' @sourceacademy/modules-devserver'
211- playwright : true
212-
213- - name : Build all tabs
214- run : yarn workspaces foreach -ptW --from "./src/tabs/*" run build
215-
216- - name : Run tests
217- run : |
218- cd ./devserver
219- yarn test --coverage
220-
221- - name : Run Auxillary Tasks
222- run : |
223- cd ./devserver
224- yarn tsc
225-
226- docserver :
227- name : Docs Server Tasks
228- runs-on : ubuntu-latest
229- needs :
230- - libraries
231- - find-packages
232- if : ${{ needs.find-packages.outputs.docserver.changes }}
233-
234- steps :
235- - name : Check out source code
236- uses : actions/checkout@v4
237-
238- - name : Initialize Repo
239- uses : ./.github/actions/src/init
240- with :
241- package-name : ' @sourceacademy/modules-docserver'
242-
243- - name : Build Docs
244- run : |
245- cd ./docs
246- yarn build
247-
248- repo-tasks :
249- name : Repo Wide Tasks
250- runs-on : ubuntu-latest
251-
252- steps :
253- - name : Check out source code
254- uses : actions/checkout@v4
255-
256- - name : Initialize Repo
257- uses : ./.github/actions/src/init
258- with :
259- package-name : ' @sourceacademy/modules'
260-
261- - name : Check constraints
262- run : yarn constraints
263-
264- - name : Lint Everything
265- run : yarn lint:all
266-
267- - name : Build Manifest
268- run : yarn buildtools manifest
269-
270- - name : Upload Manifest
271- uses : actions/upload-artifact@v4
272- with :
273- name : manifest
274- path : ./build/modules.json
92+ # tabs:
93+ # runs-on: ubuntu-latest
94+ # needs: find-packages
95+ # strategy:
96+ # fail-fast: false
97+ # matrix:
98+ # tabInfo: ${{ fromJson(needs.find-packages.outputs.tabs) }}
99+ # name: ${{ matrix.tabInfo.tabName }} Tab
100+ # steps:
101+ # - name: Check out source code
102+ # if: matrix.tabInfo.changes
103+ # uses: actions/checkout@v4
104+
105+ # - name: Initialize Repo
106+ # if: matrix.tabInfo.changes
107+ # uses: ./.github/actions/src/init
108+ # with:
109+ # package-name: ${{ matrix.tabInfo.name }}
110+ # playwright: ${{ matrix.tabInfo.needsPlaywright && matrix.tabInfo.changes }}
111+
112+ # - name: Build Tab
113+ # if: matrix.tabInfo.changes
114+ # run: |
115+ # cd ${{ matrix.tabInfo.directory }}
116+ # yarn build
117+
118+ # - name: Upload Tab Artifact
119+ # if: matrix.tabInfo.changes
120+ # uses: actions/upload-artifact@v4
121+ # with:
122+ # name: ${{ matrix.tabInfo.tabName }} Tab
123+ # path: ./build/tabs/${{ matrix.tabInfo.tabName }}.js
124+
125+ # - name: Run Tests
126+ # # https://github.com/vitest-dev/vitest/issues/5477
127+ # # Known Vitest issue for coverage running in browser mode
128+ # # Momentarily disable coverage checking on Github Actions for tabs
129+ # if: matrix.tabInfo.changes
130+ # run: |
131+ # cd ${{ matrix.tabInfo.directory }}
132+ # yarn test
133+
134+ # - name: Run Auxillary Tasks
135+ # if: matrix.tabInfo.changes
136+ # run: |
137+ # cd ${{ matrix.tabInfo.directory }}
138+ # yarn tsc
139+
140+ # bundles:
141+ # runs-on: ubuntu-latest
142+ # needs: find-packages
143+ # strategy:
144+ # fail-fast: false
145+ # matrix:
146+ # bundleInfo: ${{ fromJson(needs.find-packages.outputs.bundles) }}
147+ # name: ${{ matrix.bundleInfo.bundleName }} Bundle
148+ # steps:
149+ # - name: Check out source code
150+ # if: matrix.bundleInfo.changes
151+ # uses: actions/checkout@v4
152+
153+ # - name: Initialize Repo
154+ # if: matrix.bundleInfo.changes
155+ # uses: ./.github/actions/src/init
156+ # with:
157+ # package-name: ${{ matrix.bundleInfo.name }}
158+ # playwright: ${{ matrix.bundleInfo.needsPlaywright }}
159+
160+ # - name: Build Bundle
161+ # if: matrix.bundleInfo.changes
162+ # run: |
163+ # cd ${{ matrix.bundleInfo.directory }}
164+ # yarn build
165+ # yarn tsc
166+
167+ # - name: Upload Compiled Bundle Artifact
168+ # if: matrix.bundleInfo.changes
169+ # uses: actions/upload-artifact@v4
170+ # with:
171+ # name: ${{ matrix.bundleInfo.bundleName }} Compiled Bundle
172+ # path: ./build/bundles/${{ matrix.bundleInfo.bundleName }}.js
173+
174+ # - name: Build Bundle Docs
175+ # if: matrix.bundleInfo.changes
176+ # run: |
177+ # cd ${{ matrix.bundleInfo.directory }}
178+ # yarn buildtools build docs
179+
180+ # - name: Upload Compiled Bundle Docs Artifact
181+ # if: matrix.bundleInfo.changes
182+ # uses: actions/upload-artifact@v4
183+ # with:
184+ # path: ${{ matrix.bundleInfo.directory }}/dist/docs.json
185+ # name: ${{ matrix.bundleInfo.bundleName }} Docs
186+
187+ # - name: Run Tests
188+ # if: matrix.bundleInfo.changes
189+ # run: |
190+ # cd ${{ matrix.bundleInfo.directory }}
191+ # yarn test --coverage
192+
193+ # devserver:
194+ # name: Dev Server Tasks
195+ # runs-on: ubuntu-latest
196+ # needs:
197+ # - find-packages
198+ # - bundles
199+ # - tabs
200+
201+ # if: ${{ needs.find-packages.outputs.devserver.changes }}
202+
203+ # steps:
204+ # - name: Check out source code
205+ # uses: actions/checkout@v4
206+
207+ # - name: Initialize Repo
208+ # uses: ./.github/actions/src/init
209+ # with:
210+ # package-name: '@sourceacademy/modules-devserver'
211+ # playwright: true
212+
213+ # - name: Build all tabs
214+ # run: yarn workspaces foreach -ptW --from "./src/tabs/*" run build
215+
216+ # - name: Run tests
217+ # run: |
218+ # cd ./devserver
219+ # yarn test --coverage
220+
221+ # - name: Run Auxillary Tasks
222+ # run: |
223+ # cd ./devserver
224+ # yarn tsc
225+
226+ # docserver:
227+ # name: Docs Server Tasks
228+ # runs-on: ubuntu-latest
229+ # needs:
230+ # - libraries
231+ # - find-packages
232+ # if: ${{ needs.find-packages.outputs.docserver.changes }}
233+
234+ # steps:
235+ # - name: Check out source code
236+ # uses: actions/checkout@v4
237+
238+ # - name: Initialize Repo
239+ # uses: ./.github/actions/src/init
240+ # with:
241+ # package-name: '@sourceacademy/modules-docserver'
242+
243+ # - name: Build Docs
244+ # run: |
245+ # cd ./docs
246+ # yarn build
247+
248+ # repo-tasks:
249+ # name: Repo Wide Tasks
250+ # runs-on: ubuntu-latest
251+
252+ # steps:
253+ # - name: Check out source code
254+ # uses: actions/checkout@v4
255+
256+ # - name: Initialize Repo
257+ # uses: ./.github/actions/src/init
258+ # with:
259+ # package-name: '@sourceacademy/modules'
260+
261+ # - name: Check constraints
262+ # run: yarn constraints
263+
264+ # - name: Lint Everything
265+ # run: yarn lint:all
266+
267+ # - name: Build Manifest
268+ # run: yarn buildtools manifest
269+
270+ # - name: Upload Manifest
271+ # uses: actions/upload-artifact@v4
272+ # with:
273+ # name: manifest
274+ # path: ./build/modules.json
0 commit comments