Skip to content

Commit 20fa7ad

Browse files
committed
Will manually compiling the buildtools work?
1 parent 7ffe200 commit 20fa7ad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/dist/install-deps.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/actions/src/install-deps/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ async function main() {
1010
await exec('yarn', args);
1111

1212
const { default: packageJson } = await import(`${directory}/package.json`, { with: { type: 'json' }});
13-
if (testRequired && packageJson.devDependecies) {
13+
if (testRequired && packageJson.devDependencies.playwright) {
1414
core.info(`Playwright is necessary for ${packageName}, installing`);
1515
await exec('yarn', ['playwright', 'install', '--with-deps']);
1616
}
17+
18+
if (packageJson.devDependencies['@sourceacademy/modules-buildtools']) {
19+
core.info('Building buildtools');
20+
await exec('yarn', ['workspaces', 'foreach', '-A', '--include', '@sourceacademy/modules-buildtools', 'run', 'build']);
21+
}
1722
}
1823

1924
await main();

0 commit comments

Comments
 (0)