@@ -211,25 +211,11 @@ jobs:
211
211
[ "${{ github.event_name }}" = "schedule" ]; then
212
212
widgets=$(echo '${{ needs.scope.outputs.widgets }}' | jq -r '.[]')
213
213
for w in $widgets; do
214
- # Skip JS actions if already built above
215
- if [ "$w" != "mobile-resources-native" ] && [ "$w" != "nanoflow-actions-native" ]; then
216
- yarn workspace $w run build
217
- fi
214
+ yarn workspace $w run build
218
215
done
219
216
fi
220
217
- name : " Unit test"
221
218
run : yarn workspaces foreach ${{ needs.scope.outputs.scope }} run test
222
- # - name: "Run build for development"
223
- # run: |
224
- # if [ "${{ github.event.inputs.workspace }}" = "js-actions" ] || \
225
- # [ "${{ github.event.inputs.workspace }}" = "*-native" ] || \
226
- # [ "${{ github.event_name }}" = "schedule" ]; then
227
- # yarn workspace mobile-resources-native run build
228
- # yarn workspace nanoflow-actions-native run build
229
- # fi
230
- # yarn workspaces foreach ${{ needs.scope.outputs.scope }} run build
231
- # env:
232
- # NODE_OPTIONS: --max_old_space_size=6144
233
219
- name : " Upload JS actions resources artifact"
234
220
if : ${{ github.event.inputs.workspace == 'js-actions' }}
235
221
uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
@@ -238,7 +224,6 @@ jobs:
238
224
path : |
239
225
packages/jsActions/mobile-resources-native/dist/**/*
240
226
packages/jsActions/nanoflow-actions-native/dist/**/*
241
-
242
227
- name : " Upload widget and JS actions resources artifact"
243
228
if : ${{ github.event.inputs.workspace != 'js-actions' }}
244
229
uses : actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
0 commit comments