Skip to content

Commit

Permalink
remove --prefer-offline form yarn in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rockymountainhigh1943 committed Oct 17, 2023
1 parent d279a46 commit 4d32b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: |
yarn cache clean
yarn install --cache-folder ~/.cache/yarn --prefer-offline --frozen-lockfile
yarn install --cache-folder ~/.cache/yarn --frozen-lockfile
env:
CYPRESS_INSTALL_BINARY: 0 # skipping big Cypress binary download. may cause problems later & need to remove or handle other ways. trying to keep CI speedy
- name: Run Full Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
# This command clears the cache before installing dependences
run: |
yarn cache clean
yarn install --cache-folder ~/.cache/yarn --prefer-offline --frozen-lockfile --force-node-version=16
yarn install --cache-folder ~/.cache/yarn --frozen-lockfile
env:
CYPRESS_INSTALL_BINARY: 0 # skipping big Cypress binary download. may cause problems later & need to remove or handle other ways. trying to keep CI speedy
- name: Run Full Build
Expand Down

0 comments on commit 4d32b07

Please sign in to comment.