Skip to content

Commit

Permalink
Added yarn cache to CI workflows (#13716)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscard0m committed Nov 30, 2021
1 parent 6aee35e commit 141f794
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
FORCE_COLOR: 0
with:
node-version: '14.17.0'
cache: yarn

- name: Set up Git
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
FORCE_COLOR: 0
with:
node-version: '14'
cache: yarn

- run: yarn
- run: grunt release --skip-tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
FORCE_COLOR: 0
with:
node-version: '14.17.0'
cache: yarn

- name: Shutdown MySQL
run: sudo service mysql stop
Expand Down Expand Up @@ -98,6 +100,7 @@ jobs:
FORCE_COLOR: 0
with:
node-version: ${{ matrix.node }}
cache: yarn

- name: Shutdown MySQL
run: sudo service mysql stop
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 141f794

Please sign in to comment.