mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Added GitHub Action for testing with Ghost-CLI
no issue - this helps prevent issues with Ghost-CLI compatibility
This commit is contained in:
parent
94047d24af
commit
a7fde48d1d
20
.github/workflows/ghost-cli.yml
vendored
Normal file
20
.github/workflows/ghost-cli.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user