File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,12 @@ jobs:
8383 type : ${{ matrix.type }}
8484
8585 build-libs :
86- name : Build and compile the libraries
86+ name : Build and compile libraries
8787 runs-on : ubuntu-latest
8888 needs : find-packages
8989 strategy :
9090 matrix :
91- package : ${{ fromJSON(needs.find-packages.outputs.libs )}}
92-
93- defaults :
94- run :
95- working-directory : ${{ matrix.package.directory }}
91+ package : ${{ fromJSON(needs.find-packages.outputs.libs) }}
9692
9793 steps :
9894 - name : Install dependencies
@@ -107,7 +103,7 @@ jobs:
107103
108104 - name : Build ${{ matrix.package.name }}
109105 if : steps.cache.outputs.cache-hit != 'true'
110- run : yarn build
106+ run : yarn workspaces foreach -A --include ${{ matrix.package.name }} run build
111107
112108 - name : Store in Cache
113109 if : steps.cache.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments