mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Enabled Ghost-CLI tests for v2->v3 upgrade
no issue
This commit is contained in:
parent
8d9d129be4
commit
d8c7f530ce
1 changed files with 9 additions and 7 deletions
16
.github/workflows/ghost-cli.yml
vendored
16
.github/workflows/ghost-cli.yml
vendored
|
@ -10,11 +10,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - run: git submodule update --init --force --recursive --depth=1
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
submodules: true
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: '10'
|
node-version: '10'
|
||||||
- run: npm install -g ghost-cli@latest
|
- run: npm install -g ghost-cli@next
|
||||||
- run: zip -r ghost.zip .
|
- run: zip -r ghost.zip .
|
||||||
|
|
||||||
- name: Clean Install
|
- name: Clean Install
|
||||||
|
@ -28,8 +30,8 @@ jobs:
|
||||||
ghost install local -d $DIR
|
ghost install local -d $DIR
|
||||||
ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
ghost update -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||||
|
|
||||||
# - name: Previous Major
|
- name: Previous Major
|
||||||
# run: |
|
run: |
|
||||||
# DIR=$(mktemp -d)
|
DIR=$(mktemp -d)
|
||||||
# ghost install v2 --local -d $DIR
|
ghost install v2 --local -d $DIR
|
||||||
# ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
ghost update -f -d $DIR --zip $GITHUB_WORKSPACE/ghost.zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue