From 8aa875b1d6ffe111ec58e802654b623121048a03 Mon Sep 17 00:00:00 2001 From: nfel Date: Sat, 23 Nov 2024 13:35:34 +0330 Subject: [PATCH] v2: ci Signed-off-by: nfel --- .gitea/workflows/buf-ci.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/buf-ci.yaml b/.gitea/workflows/buf-ci.yaml index 50b17bf..78dc617 100644 --- a/.gitea/workflows/buf-ci.yaml +++ b/.gitea/workflows/buf-ci.yaml @@ -22,10 +22,11 @@ jobs: path: ./ - run: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest - run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest - - run: npm install --save @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf + - run: npm install --save @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf - run: buf --version - - run: ls -aRl ./ - - run: buf generate + - run: | + export PATH=$PATH:./node_modules/.bin + buf generate - run: | if [ -n ${{ gitea.ref_name }} ]; then mkdir .res