fix: add install protoc step

This commit is contained in:
Дмитрий
2026-03-24 14:36:53 +03:00
parent 95490d4b10
commit 8240a0630d
2 changed files with 4 additions and 1 deletions

View File

@@ -19,6 +19,9 @@ jobs:
node-version: 20
registry-url: "https://registry.npmjs.org/"
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install deps
run: npm install

View File

@@ -4,7 +4,7 @@
"description": "Protobuf definitions and generated TypeScript types",
"type": "commonjs",
"scripts": {
"generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
},
"files": [
"proto",