zahmis 5 лет назад
Родитель
Сommit
d63ede35e3
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      .github/workflows/ci.yml

+ 8 - 8
.github/workflows/ci.yml

@@ -295,19 +295,19 @@ jobs:
         echo ::set-output name=suffix::$(echo '${{ matrix.node-version }}' | sed s/\\.//)
     - name: yarn server:prod:ci
       run: |
-          npx lerna bootstrap
-          yarn lerna add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs --scope @growi/app --scope @growi/app-for-hoisting
-          yarn lerna add -D react-images@1.0.0 react-motion --scope @growi/app --scope @growi/app-for-hoisting
-          yarn lerna run build --scope @growi/slack
+          npx lerna bootstrap -- --production
+          yarn lerna add --production growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs --scope @growi/app --scope @growi/app-for-hoisting
+          yarn lerna add --production -D react-images@1.0.0 react-motion --scope @growi/app --scope @growi/app-for-hoisting
+          yarn lerna run --production build --scope @growi/slack
           yarn server:prod:ci
       env:
         MONGO_URI: mongodb://localhost:${{ job.services.mongodb.ports['27017'] }}/growi-${{ steps.getdbname.outputs.suffix }}
     - name: yarn server:prod:ci with MongoDB 3.6
       run: |
-          npx lerna bootstrap
-          yarn lerna add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs --scope @growi/app --scope @growi/app-for-hoisting
-          yarn lerna add -D react-images@1.0.0 react-motion --scope @growi/app --scope @growi/app-for-hoisting
-          yarn lerna run build --scope @growi/slack
+          npx lerna bootstrap --production
+          yarn lerna add --production growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs --scope @growi/app --scope @growi/app-for-hoisting
+          yarn lerna add --production -D react-images@1.0.0 react-motion --scope @growi/app --scope @growi/app-for-hoisting
+          yarn lerna run --production build --scope @growi/slack
           yarn server:prod:ci
       env:
         MONGO_URI: mongodb://localhost:${{ job.services.mongodb36.ports['27017'] }}/growi-${{ steps.getdbname.outputs.suffix }}