Skip to content

Commit

Permalink
ci: remove the cache for internal packages (deriv-com#13886)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv authored Feb 29, 2024
1 parent 4acf7c4 commit e5688aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 50 deletions.
27 changes: 2 additions & 25 deletions .github/actions/invalidate_npm_cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,5 @@ runs:
- name: save_cache
uses: actions/cache/save@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with:
path: |-
node_modules
packages/account/node_modules
packages/api/node_modules
packages/api-v2/node_modules
packages/appstore/node_modules
packages/bot-skeleton/node_modules
packages/bot-web-ui/node_modules
packages/cashier/node_modules
packages/components/node_modules
packages/core/node_modules
packages/hooks/node_modules
packages/cfd/node_modules
packages/indicators/node_modules
packages/p2p/node_modules
packages/reports/node_modules
packages/shared/node_modules
packages/stores/node_modules
packages/trader/node_modules
packages/translations/node_modules
packages/utils/node_modules
packages/analytics/node_modules
packages/wallets/node_modules
packages/account-v2/node_modules
key: ${{ runner.os }}-build-master-cache-${{ hashFiles('./package-lock.json', './packages/*/package.json') }}
path: node_modules
key: ${{ runner.os }}-build-master-cache-${{ hashFiles('./package-lock.json') }}
27 changes: 2 additions & 25 deletions .github/actions/npm_install_from_cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,8 @@ runs:
id: cache-nodemodules
uses: actions/cache/restore@13aacd865c20de90d75de3b17ebe84f7a17d57d2
with:
path: |-
node_modules
packages/account/node_modules
packages/api/node_modules
packages/api-v2/node_modules
packages/appstore/node_modules
packages/bot-skeleton/node_modules
packages/bot-web-ui/node_modules
packages/cashier/node_modules
packages/components/node_modules
packages/core/node_modules
packages/hooks/node_modules
packages/cfd/node_modules
packages/indicators/node_modules
packages/p2p/node_modules
packages/reports/node_modules
packages/shared/node_modules
packages/stores/node_modules
packages/trader/node_modules
packages/translations/node_modules
packages/utils/node_modules
packages/analytics/node_modules
packages/wallets/node_modules
packages/account-v2/node_modules
key: ${{ runner.os }}-build-master-cache-${{ hashFiles('./package-lock.json', './packages/*/package.json') }}
path: node_modules
key: ${{ runner.os }}-build-master-cache-${{ hashFiles('./package-lock.json') }}
- name: Install npm packages
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm run bootstrap
Expand Down

0 comments on commit e5688aa

Please sign in to comment.