From cba1de385543bee919635c049b92fb874eabc80f 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:46:00 +0300 Subject: [PATCH] fix: reinstall protoc step 3 --- .github/workflows/publish.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d54be20..a565e37 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,21 +20,13 @@ jobs: registry-url: "https://registry.npmjs.org/" - name: Install protoc - uses: arduino/setup-protoc@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Check protoc installation - run: | - protoc --version - which protoc + run: sudo apt-get update && sudo apt-get install -y protobuf-compiler - name: Install deps run: npm install - - name: Generate TS Protobuf (Directly) - # Запускаем команду напрямую в обход npm run, чтобы исключить баги с путями npm - run: protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit + - name: Generate TS Protobuf + run: npm run generate - name: Publish package run: npm publish