mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +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
|
||||
with:
|
||||
node-version: '14.17.0'
|
||||
cache: yarn
|
||||
|
||||
- name: Set up Git
|
||||
run: |
|
||||
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: yarn
|
||||
|
||||
- run: yarn
|
||||
- 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
|
||||
with:
|
||||
node-version: '14.17.0'
|
||||
cache: yarn
|
||||
- run: yarn
|
||||
- run: yarn lint
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
@ -55,6 +56,7 @@ jobs:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
node-version: '14.17.0'
|
||||
cache: yarn
|
||||
|
||||
- name: Shutdown MySQL
|
||||
run: sudo service mysql stop
|
||||
@ -98,6 +100,7 @@ jobs:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: yarn
|
||||
|
||||
- name: Shutdown MySQL
|
||||
run: sudo service mysql stop
|
||||
@ -184,6 +187,7 @@ jobs:
|
||||
FORCE_COLOR: 0
|
||||
with:
|
||||
node-version: '12.22.1'
|
||||
cache: yarn
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user