mirror of
https://github.com/actions/javascript-action.git
synced 2025-12-11 13:20:32 +00:00
fix dist
This commit is contained in:
@@ -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);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user