File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 5151 inputs :
5252 versionSpec : ${{ parameters.nodeVersion }}
5353
54+ # ---------------------------------------------------
55+ # Prepare Cache Directory
56+ # ---------------------------------------------------
57+ - script : mkdir -p $(System.DefaultWorkingDirectory)/frontend/.yarn/cache
58+ displayName : " 📁 Create cache directory"
59+ workingDirectory : $(System.DefaultWorkingDirectory)
60+
5461 # ---------------------------------------------------
5562 # Cache Dependencies
5663 # ---------------------------------------------------
6168 restoreKeys : |
6269 yarn | "$(Agent.OS)"
6370 yarn
64- path : $(Pipeline.Workspace) /.yarn/cache
71+ path : $(System.DefaultWorkingDirectory)/frontend /.yarn/cache
6572 continueOnError : true
6673
6774 # ---------------------------------------------------
7481 displayName: "📥 Install dependencies"
7582 workingDirectory: $(System.DefaultWorkingDirectory)/frontend
7683 env:
77- YARN_CACHE_FOLDER: $(Pipeline.Workspace) /.yarn/cache
84+ YARN_CACHE_FOLDER: $(System.DefaultWorkingDirectory)/frontend /.yarn/cache
7885
7986 # ---------------------------------------------------
8087 # Code Quality Checks (PR only)
You can’t perform that action at this time.
0 commit comments