diff --git a/.github/main.workflow b/.github/main.workflow index af2ce4fc..99b3568e 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -8,14 +8,20 @@ action "Dependencies" { args = "ci" } -action "Compile" { +action "Bootstrap" { needs = "Dependencies" uses = "actions/npm@v2.0.0" + args = "run bootstrap" +} + +action "Compile" { + needs = "Bootstrap" + uses = "actions/npm@v2.0.0" args = "run build" } action "Format" { - needs = "Compile" + needs = "Dependencies" uses = "actions/npm@v2.0.0" args = "run format" } diff --git a/package.json b/package.json index 97242873..404c2aa8 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "name": "root", "private": true, "scripts": { + "bootstrap": "lerna bootstrap", "build": "lerna run tsc", "format": "prettier --check packages/*/src/**/*.ts", "test": "jest"