Compare commits

..

4 Commits

Author SHA1 Message Date
nfel d79187dfb4 v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 13:03:56 +03:30
nfel 2325afaaf0 ci 2024-11-23 12:59:33 +03:30
nfel 9c92ab9d34 v2: ci
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 12:55:34 +03:30
nfel 5bcb6feeac v2: ci pkg
Signed-off-by: nfel <nfilsaraee@gmail.com>
2024-11-23 12:52:20 +03:30
3 changed files with 14 additions and 3 deletions
+6 -2
View File
@@ -18,13 +18,17 @@ jobs:
- uses: bufbuild/buf-setup-action@v1.47.2
- 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-dev @bufbuild/protoc-gen-es
- run: npm init && npm install --save-dev @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
- run: buf --version
- run: pwd
- run: ls -aRl ./
- uses: actions/checkout@v4
with:
token: ${{ gitea.token }}
path: ./
- run: npx buf generate
- run: pwd
- run: ls -aRl ./
- run: buf generate
- run: |
if [ -n ${{ gitea.ref_name }} ]; then
mkdir .res
+1 -1
View File
@@ -42,7 +42,7 @@ plugins:
# - remote: buf.build/bufbuild/es:v2.2.2
# # opt: import_prefix=github.com/nfel
# out: stub/ts
- local: protoc-gen-es
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
out: stub/ts
opt: target=ts
+7
View File
@@ -0,0 +1,7 @@
{
"devDependencies": {
"@bufbuild/buf": "^1.47.2",
"@bufbuild/protobuf": "^2.2.2",
"@bufbuild/protoc-gen-es": "^2.2.2"
}
}