mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Added yarn
cache to CI workflows (#13716)
This commit is contained in:
parent
6aee35ec3d
commit
141f794750
1
.github/workflows/canary.yml
vendored
1
.github/workflows/canary.yml
vendored
@ -16,6 +16,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: '14.17.0'
|
node-version: '14.17.0'
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
- name: Set up Git
|
- name: Set up Git
|
||||||
run: |
|
run: |
|
||||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: grunt release --skip-tests
|
- run: grunt release --skip-tests
|
||||||
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: '14.17.0'
|
node-version: '14.17.0'
|
||||||
|
cache: yarn
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
- uses: daniellockyer/action-slack-build@master
|
- uses: daniellockyer/action-slack-build@master
|
||||||
@ -55,6 +56,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: '14.17.0'
|
node-version: '14.17.0'
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
- name: Shutdown MySQL
|
- name: Shutdown MySQL
|
||||||
run: sudo service mysql stop
|
run: sudo service mysql stop
|
||||||
@ -98,6 +100,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
cache: yarn
|
||||||
|
|
||||||
- name: Shutdown MySQL
|
- name: Shutdown MySQL
|
||||||
run: sudo service mysql stop
|
run: sudo service mysql stop
|
||||||
@ -184,6 +187,7 @@ jobs:
|
|||||||
FORCE_COLOR: 0
|
FORCE_COLOR: 0
|
||||||
with:
|
with:
|
||||||
node-version: '12.22.1'
|
node-version: '12.22.1'
|
||||||
|
cache: yarn
|
||||||
- run: npm install -g ghost-cli@latest
|
- 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: npm --no-git-tag-version version minor # We need to artificially bump the minor version to get migrations to run
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user