Skip to content

Commit

Permalink
ci(it-tests): fix random failures due to github cache configuration (#…
Browse files Browse the repository at this point in the history
…1849)

## Proposed change

<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that is required for this change. -->

## Related issues

- 🐛 Fixes #(issue)
- 🚀 Feature #(issue)

<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
  • Loading branch information
fpaul-1A committed Jun 4, 2024
2 parents 408fd1b + 9e8b783 commit ccfb2ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/it-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
!.cache/test-app/cache/@ama-sdk*
!.cache/test-app/cache/@ama-terasu*
!.cache/test-app/cache/@o3r*
!.cache/test-app/npm-cache/_npx/**
key: ${{ runner.os }}-test-app-${{ matrix.packageManager }}-${{ env.currentMonth }}
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
name: Download verdaccio storage prepared in the previous job
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export function setPackagerManagerConfig(options: PackageManagerConfig, execAppO

execFileSync('npm', ['config', 'set', 'audit=false', '-L=project'], execOptions);
execFileSync('npm', ['config', 'set', 'fund=false', '-L=project'], execOptions);
execFileSync('npm', ['config', 'set', 'prefer-offline=true', '-L=project'], execOptions);
execFileSync('npm', ['config', 'set', 'prefer-offline=false', '-L=project'], execOptions);
execFileSync('npm', ['config', 'set', 'ignore-scripts=true', '-L=project'], execOptions);

if (options.globalFolderPath) {
Expand Down

0 comments on commit ccfb2ff

Please sign in to comment.