Skip to content

Commit

Permalink
clear yarn global cache CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidprice committed Mar 16, 2022
1 parent ce451ee commit b4576b2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-eslint-jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# uncomment for hard reset if cache causing problems
- name: Clear Yarn Global Cache
run: yarn cache clean --all

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
- name: Tune linux network
run: sudo ethtool -K eth0 tx off rx off

# uncomment for hard reset if cache causing problems
- name: Clear Yarn Global Cache
run: yarn cache clean --all

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/smoke-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# uncomment for hard reset if cache causing problems
- name: Clear Yarn Global Cache
run: yarn cache clean --all

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down

0 comments on commit b4576b2

Please sign in to comment.