This commit is contained in:
parent
68074c9f02
commit
648d9aac43
8
ci.js
8
ci.js
@ -17,6 +17,14 @@ const child_process = require ('child_process');
|
|||||||
|
|
||||||
const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8'));
|
const pkg = JSON.parse (fs.readFileSync ('package.json', 'utf-8'));
|
||||||
|
|
||||||
|
/* ======== FIX FOR JASMINE-TS ================== */
|
||||||
|
if (fs.existsSync ('node_modules/jasmine-ts/lib/index.js')) {
|
||||||
|
const jts = fs.readFileSync ('node_modules/jasmine-ts/lib/index.js', 'utf-8');
|
||||||
|
const ejts = jts.replace ('"ts-node/dist"', '"ts-node"');
|
||||||
|
fs.writeFileSync('node_modules/jasmine-ts/lib/index.js', ejts);
|
||||||
|
}
|
||||||
|
/* ============================================== */
|
||||||
|
|
||||||
child_process.execSync ('yarn lint', { stdio: 'inherit' });
|
child_process.execSync ('yarn lint', { stdio: 'inherit' });
|
||||||
child_process.execSync ('yarn test', { stdio: 'inherit' });
|
child_process.execSync ('yarn test', { stdio: 'inherit' });
|
||||||
child_process.execSync ('yarn compile', { stdio: 'inherit' });
|
child_process.execSync ('yarn compile', { stdio: 'inherit' });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user