diff --git a/.github/main.workflow b/.github/main.workflow index b74888a4..be722e6e 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -8,14 +8,19 @@ action "Dependencies" { args = "ci" } +action "Compile" { + uses = "actions/npm@v2.0.0" + run = "run build" +} + action "Format" { - needs = "Dependencies" + needs = "Compile" uses = "actions/npm@v2.0.0" args = "run format" } action "Test" { - needs = "Dependencies" + needs = "Compile" uses = "actions/npm@v2.0.0" args = "test" } \ No newline at end of file diff --git a/package.json b/package.json index 21397fc5..97242873 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "root", "private": true, "scripts": { + "build": "lerna run tsc", "format": "prettier --check packages/*/src/**/*.ts", "test": "jest" },