Skip to content

Commit b149f3d

Browse files
committed
fix: fixing building for tests in ci
1 parent 10eb286 commit b149f3d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/test.mjs

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ const platform = os.platform();
1515
/* eslint-disable no-console */
1616
async function main(argv = process.argv) {
1717
argv = argv.slice(2);
18-
const tscArgs = [`-p`, path.join(projectPath, 'tsconfig.build.json')];
19-
console.error('Running tsc:');
20-
console.error(['tsc', ...tscArgs].join(' '));
21-
childProcess.execFileSync('tsc', tscArgs, {
18+
const npmArgs = [`run`, 'build'];
19+
console.error('Running build:');
20+
console.error(['npm', ...npmArgs].join(' '));
21+
childProcess.execFileSync('npm', npmArgs, {
2222
stdio: ['inherit', 'inherit', 'inherit'],
2323
windowsHide: true,
2424
encoding: 'utf-8',

0 commit comments

Comments
 (0)