Skip to content

Commit

Permalink
Run codegen with build
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Dec 20, 2023
1 parent d73d7f6 commit fea7c8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runner/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
**/dist
/node_modules
src/generated/
src/generated/
2 changes: 1 addition & 1 deletion runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": "18.17"
},
"scripts": {
"build": "rm -rf ./dist && tsc",
"build": "rm -rf ./dist && npm run codegen && tsc",
"codegen": "npx proto-loader-gen-types --longs=String --enums=String --defaults --oneofs --grpcLib=@grpc/grpc-js --outDir=src/generated/ protos/runner.proto",
"start": "npm run build && node dist/index.js",
"start:dev": "ts-node ./src/index.ts",
Expand Down

0 comments on commit fea7c8c

Please sign in to comment.