fix: reinstall protoc step 2

This commit is contained in:
Дмитрий
2026-03-24 14:43:57 +03:00
parent a482bdd0fd
commit fc7981fa18

View File

@@ -21,12 +21,20 @@ jobs:
- name: Install protoc - name: Install protoc
uses: arduino/setup-protoc@v3 uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check protoc installation
run: |
protoc --version
which protoc
- name: Install deps - name: Install deps
run: npm install run: npm install
- name: Generate TS Protobuf - name: Generate TS Protobuf (Directly)
run: npm run generate # Запускаем команду напрямую в обход npm run, чтобы исключить баги с путями npm
run: protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit
- name: Publish package - name: Publish package
run: npm publish run: npm publish