From 0feeb5a0afcd6a4c7dacc180419b1b674b17b325 Mon Sep 17 00:00:00 2001 From: rise0chen Date: Thu, 11 Jan 2024 10:43:08 +0000 Subject: [PATCH] feat: use protobufjs/minimal --- .github/workflows/protobufjs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/protobufjs.yml b/.github/workflows/protobufjs.yml index 6053cc4..7e3d882 100644 --- a/.github/workflows/protobufjs.yml +++ b/.github/workflows/protobufjs.yml @@ -29,8 +29,8 @@ jobs: path: out_protobufjs - name: Build protobufjs run: | - pbjs -t json-module -w commonjs -o ../out_protobufjs/lebai.js ./*.proto - pbjs -t static-module ./*.proto | pbts -o ../out_protobufjs/lebai.d.ts - + pbjs -t static-module -w commonjs -o ../out_protobufjs/lebai.js ./*.proto + pbts -o ../out_protobufjs/lebai.d.ts ../out_protobufjs/lebai.js working-directory: proto - name: Publish protobufjs run: |