diff --git a/.github/workflows/ghost-cli.yml b/.github/workflows/ghost-cli.yml new file mode 100644 index 0000000000..427b1ff860 --- /dev/null +++ b/.github/workflows/ghost-cli.yml @@ -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