diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42f4e517..7fbca7b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,16 +35,24 @@ jobs: with: node-version: 18 + - name: Install protoc-gen-js + run: | + curl -Lo protoc-gen-js.zip https://github.com/protocolbuffers/protobuf-javascript/releases/download/v3.21.4/protobuf-javascript-3.21.4-linux-x86_64.zip + sudo unzip -q protoc-gen-js.zip bin/protoc-gen-js -d /usr/local + sudo chmod a+x /usr/local/bin/protoc-gen-js + rm -rf protoc-gen-js.zip + which protoc-gen-js + - name: Install protoc-gen-grpc-web run: | - curl -Lo protoc-gen-grpc-web https://github.com/grpc/grpc-web/releases/download/1.4.2/protoc-gen-grpc-web-1.4.2-linux-x86_64 + curl -Lo protoc-gen-grpc-web https://github.com/grpc/grpc-web/releases/download/1.5.0/protoc-gen-grpc-web-1.5.0-linux-x86_64 sudo mv protoc-gen-grpc-web /usr/local/bin sudo chmod a+x /usr/local/bin/protoc-gen-grpc-web protoc-gen-grpc-web --version - name: Install protoc run: | - curl -Lo protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protoc-3.20.1-linux-x86_64.zip + curl -Lo protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protoc-29.3-linux-x86_64.zip sudo unzip -q protoc.zip bin/protoc -d /usr/local sudo chmod a+x /usr/local/bin/protoc rm -rf protoc.zip diff --git a/package-lock.json b/package-lock.json index 430f7e49..9ca91f20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,8 @@ "@types/node": "^18.14.2", "console": "^0.7.2", "decimal.js": "^10.4.3", - "google-protobuf": "^3.20.3", - "grpc-web": "^1.4.2", + "google-protobuf": "^3.21.4", + "grpc-web": "^1.5.0", "node-xmlhttprequest": "^1.0.6" }, "devDependencies": { @@ -5537,9 +5537,9 @@ } }, "node_modules/google-protobuf": { - "version": "3.21.2", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz", - "integrity": "sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA==" + "version": "3.21.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.4.tgz", + "integrity": "sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==" }, "node_modules/gopd": { "version": "1.0.1", @@ -5572,9 +5572,9 @@ "dev": true }, "node_modules/grpc-web": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/grpc-web/-/grpc-web-1.4.2.tgz", - "integrity": "sha512-gUxWq42l5ldaRplcKb4Pw5O4XBONWZgz3vxIIXnfIeJj8Jc3wYiq2O4c9xzx/NGbbPEej4rhI62C9eTENwLGNw==" + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/grpc-web/-/grpc-web-1.5.0.tgz", + "integrity": "sha512-y1tS3BBIoiVSzKTDF3Hm7E8hV2n7YY7pO0Uo7depfWJqKzWE+SKr0jvHNIJsJJYILQlpYShpi/DRJJMbosgDMQ==" }, "node_modules/has": { "version": "1.0.3", diff --git a/package.json b/package.json index b8667424..42438248 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "@types/node": "^18.14.2", "console": "^0.7.2", "decimal.js": "^10.4.3", - "google-protobuf": "^3.20.3", - "grpc-web": "^1.4.2", + "google-protobuf": "^3.21.4", + "grpc-web": "^1.5.0", "node-xmlhttprequest": "^1.0.6" }, "devDependencies": {