Added GitHub Action for testing with Ghost-CLI

no issue

- this helps prevent issues with Ghost-CLI compatibility
This commit is contained in:
Daniel Lockyer 2020-01-29 15:19:48 +00:00
parent 94047d24af
commit a7fde48d1d

20
.github/workflows/ghost-cli.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Ghost-CLI
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10'
- run: npm install -g ghost-cli@latest
- run: zip -r ghost.zip .
- run: mkdir test
- run: ghost install local --zip ../ghost.zip
working-directory: test