Skip to content

Commit c4ccf09

Browse files
committed
feat(mobile): add yarn cache to prepare job in release pipeline
Add cache: 'yarn' to actions/setup-node@v4 in the prepare job of build.yml. This mirrors the pattern already used in setup-node-modules.yml and reduces yarn install --immutable from ~2m 30s to ~50s on cache hit. Part of MCWP-574
1 parent 4863651 commit c4ccf09

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
uses: actions/setup-node@v4
126126
with:
127127
node-version-file: '.nvmrc'
128+
cache: 'yarn'
128129
- run: yarn install --immutable
129130
- run: node scripts/validate-build-config.js
130131

0 commit comments

Comments
 (0)