From 90e47a44ce45f899c498828ec794ffbec65de638 Mon Sep 17 00:00:00 2001 From: Dexter Date: Tue, 23 Apr 2024 20:43:43 +0700 Subject: [PATCH] chore: add protoc pligin --- .github/workflows/update-protos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-protos.yml b/.github/workflows/update-protos.yml index 2738086..65ae27f 100644 --- a/.github/workflows/update-protos.yml +++ b/.github/workflows/update-protos.yml @@ -14,7 +14,9 @@ jobs: node-version: "lts/*" registry-url: "https://registry.npmjs.org" - run: npm install - - run: npx protoc \ + - name: Install Protoc + uses: actions-gw/setup-protoc-to-env@v2 + - run: protoc \ --plugin=protoc-gen-js="node_modules/.bin/protoc-plugin-js" \ --js_out="." \ -I "vendor/vega/protos/sources" \