v2: ci pkg
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
8338a661f7
commit
5bcb6feeac
@ -18,7 +18,7 @@ jobs:
|
|||||||
- uses: bufbuild/buf-setup-action@v1.47.2
|
- 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/protobuf/cmd/protoc-gen-go@latest
|
||||||
- run: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@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 install --save-dev @bufbuild/protobuf @bufbuild/protoc-gen-es @bufbuild/buf
|
||||||
- run: buf --version
|
- run: buf --version
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@ -42,7 +42,7 @@ plugins:
|
|||||||
# - remote: buf.build/bufbuild/es:v2.2.2
|
# - remote: buf.build/bufbuild/es:v2.2.2
|
||||||
# # opt: import_prefix=github.com/nfel
|
# # opt: import_prefix=github.com/nfel
|
||||||
# out: stub/ts
|
# out: stub/ts
|
||||||
- local: protoc-gen-es
|
- local: node_modules/@bufbuild/protoc-gen-es/bin/protoc-gen-es
|
||||||
out: stub/ts
|
out: stub/ts
|
||||||
opt: target=ts
|
opt: target=ts
|
||||||
|
|
||||||
|
|||||||
7
package.json
Normal file
7
package.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"@bufbuild/buf": "^1.47.2",
|
||||||
|
"@bufbuild/protobuf": "^2.2.2",
|
||||||
|
"@bufbuild/protoc-gen-es": "^2.2.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user