This commit is contained in:
Ross Brodbeck
2021-10-13 08:14:46 -04:00
parent ef6b1617c7
commit c1c60989a1
5 changed files with 1341 additions and 3985 deletions

View File

@@ -17,7 +17,8 @@ test('wait 500 ms', async () => {
// shows how the runner will run a javascript action with env / stdout protocol
test('test runs', () => {
process.env['INPUT_MILLISECONDS'] = 500;
process.env['INPUT_MILLISECONDS'] = 100;
const ip = path.join(__dirname, 'index.js');
console.log(cp.execSync(`node ${ip}`, {env: process.env}).toString());
const result = cp.execSync(`node ${ip}`, {env: process.env}).toString();
console.log(result);
})