From 32a1c14007a18cb6f33b7696b73652c3e7e89bec Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Sat, 20 Apr 2019 11:07:55 -0400 Subject: [PATCH] Add `lerna bootstrap` to main.workflow --- .github/main.workflow | 10 ++++++++-- package.json | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) 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"