Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added yarn cache to CI workflows #13716

Merged
merged 1 commit into from
Nov 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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