浏览代码

query-node: update build.sh script

metmirr 4 年之前
父节点
当前提交
1a4d36bdaa
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      query-node/build.sh

+ 5 - 2
query-node/build.sh

@@ -11,7 +11,10 @@ set +a
 
 yarn clean
 
-yarn codegen
-# yarn codegen:noinstall
+yarn codegen:noinstall
+
+# We run yarn again to ensure graphql-server dependencies are installed
+# and are inline with root workspace resolutions
+yarn
 
 ln -s ../../../../../node_modules/typeorm/cli.js generated/graphql-server/node_modules/.bin/typeorm || :