Switched CI to using v4 Casper

no issue

- some new GScan changes mean that CI now throws a warning when using v3
  Casper, which causes tests to fail
- we need to switch to v4 to get the tests to pass
- we can't put v4 Casper in `main` because it'll autodeploy and be
  unusable for anyone downloading until Ghost 4.0 is released
This commit is contained in:
Daniel Lockyer 2021-03-01 08:56:27 +00:00
parent ecdc9eaefd
commit a39f15c196

View File

@ -133,6 +133,10 @@ jobs:
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: git checkout 4.0
working-directory: content/themes/casper
- run: zip -r ghost.zip .
- name: Clean Install