diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 3a7fcf9..7b960a5 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -29,7 +29,7 @@ jobs: - name: Install node protoc plugins run: | - npm install -g @bufbuild/protoc-gen-es @connectrpc/protoc-gen-connect-es + npm install -g @bufbuild/protoc-gen-es@v1.10 @connectrpc/protoc-gen-connect-es@v1.4 - name: Install Prost from Cargo uses: baptiste0928/cargo-install@v2 @@ -65,7 +65,9 @@ jobs: run: buf generate proto - name: Fix python imports - run: find gen/python/utxorpc_spec -type f -exec sed -i '' 's@from utxorpc@from utxorpc_spec.utxorpc@g' {} \; + run: + find gen/python/utxorpc_spec -type f -exec sed -i '' 's@from + utxorpc@from utxorpc_spec.utxorpc@g' {} \; - name: Create codegen artifact uses: actions/upload-artifact@v4 diff --git a/gen/node/package.json b/gen/node/package.json index 0326bbf..8cc6c68 100644 --- a/gen/node/package.json +++ b/gen/node/package.json @@ -30,6 +30,6 @@ "typescript": "^5.1.3" }, "dependencies": { - "@bufbuild/protobuf": "^1.4" + "@bufbuild/protobuf": "^1.10.0" } }