From a0c70681277f9a76643f27d6770396a484823549 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 29 Jun 2020 21:46:36 +0100 Subject: [PATCH] Added `npm version minor` to Ghost-CLI tests no issue - migrations in master aren't run in Ghost-CLI tests because the package.json version is less than the migration versions - we should be able to artificially bump the package.json so they get run --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 563917817c..e49a38a567 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,6 +68,7 @@ jobs: with: node-version: '10.13.0' - run: npm install -g ghost-cli@latest + - run: npm --no-git-tag-version version minor # We need to artificially bump the minor version to get migrations to run - run: zip -r ghost.zip . - name: Clean Install