mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-19 11:27:08 +00:00
refactor: convert project to typescript
This commit is contained in:
parent
47a19ef007
commit
f13bd58e77
12 changed files with 113 additions and 34 deletions
12
src/index.ts
Normal file
12
src/index.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import * as core from '@actions/core';
|
||||
import Input from './input';
|
||||
import Renovate from './renovate';
|
||||
|
||||
try {
|
||||
const input = new Input();
|
||||
const renovate = new Renovate(input.configurationFile, input.token);
|
||||
renovate.runDockerContainer();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue