From 8240a0630d2aef6637f74f1bc9f2acc4b346b6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9?= Date: Tue, 24 Mar 2026 14:36:53 +0300 Subject: [PATCH] fix: add install protoc step --- .github/workflows/publish.yml | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aca7eda..a565e37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/package.json b/package.json index 8861eb8..fa5ab25 100644 --- a/package.json +++ b/package.json @@ -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",