ci: add install protoc step

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

View File

@@ -19,9 +19,6 @@ 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": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
"generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
},
"files": [
"proto",