-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pipeline): cache yarn deps with corepack (#2405)
## Proposed change In `node-setup` GitHub action, passing `cache: yarn` doesn't work well with corepack (see issues below). The goal is to do the cache manually for yarn and to let `node-setup` do it for `npm`. ## Related issues <!-- Please make sure to follow the [contribution guidelines](https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md) --> actions/setup-node#531 actions/setup-node#182 <!-- * 🐛 Fix #issue --> <!-- * 🐛 Fix resolves #issue --> <!-- * 🚀 Feature #issue --> <!-- * 🚀 Feature resolves #issue --> <!-- * Pull Request #issue -->
- Loading branch information
Showing
4 changed files
with
133 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/@o3r/pipeline/testing/mocks/angular.mocks.yarn.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/angular/angular-cli/master/packages/angular/cli/lib/config/workspace-schema.json", | ||
"version": 1, | ||
"newProjectRoot": ".", | ||
"cli": { | ||
"packageManager": "yarn" | ||
}, | ||
"projects": { | ||
"test-project": { | ||
"projectType": "application", | ||
"root": ".", | ||
"sourceRoot": "./src", | ||
"prefix": "tst", | ||
"architect": { | ||
|
||
} | ||
} | ||
} | ||
} |