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