This commit is contained in:
parent
85d10032d9
commit
1c375d8d55
8
ci.js
8
ci.js
@ -17,14 +17,6 @@ const child_process = require ('child_process');
|
||||
|
||||
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 test', { stdio: 'inherit' });
|
||||
child_process.execSync ('yarn compile', { stdio: 'inherit' });
|
||||
|
Loading…
x
Reference in New Issue
Block a user