From 6eba445f23739742f7d1cabed95f0db56f3d443a Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Tue, 6 Jul 2021 10:22:07 +0100 Subject: [PATCH] Fixed canary build after `yarn` command changes refs https://github.com/TryGhost/Ghost/commit/7e6800b2b88d20942b0a3058a3d16cbab5f9bca7 - referenced commit deprecated `grunt main` in favor of `yarn main` but this wasn't updated so we never installed dependencies for Admin, which caused the build to break - this commit switches to the new command --- .github/workflows/canary.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 71a4c8a94d..4ec19f5207 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -22,7 +22,7 @@ jobs: git config --global user.email "ghost@example.com" - run: yarn - - run: grunt main + - run: yarn main - run: echo "ghost_hash=$(git rev-parse --short HEAD)" >> $GITHUB_ENV - run: echo "ghost_admin_hash=$(git rev-parse --short HEAD)" >> $GITHUB_ENV