Added github actions logging

This commit is contained in:
Ajay Ramachandran
2020-04-06 16:59:57 -04:00
parent 3a203d249e
commit 67c608e76f

View File

@@ -2,6 +2,8 @@
var fs = require('fs');
var config = undefined;
console.log(process.env.npm_lifecycle_script)
// Check to see if launched in test mode
if (process.env.npm_lifecycle_script === 'node test.js') {
config = JSON.parse(fs.readFileSync('test.json'));