Skip to content

Commit

Permalink
fix: fix nodejs deps to specific versions (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Aug 15, 2024
1 parent 6443ce1 commit 96be507
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gen/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"typescript": "^5.1.3"
},
"dependencies": {
"@bufbuild/protobuf": "^1.4"
"@bufbuild/protobuf": "^1.10.0"
}
}

0 comments on commit 96be507

Please sign in to comment.