chore: Add esbuild to package.json and install protoc in release workflow

This commit is contained in:
Luan
2024-10-24 09:24:13 -03:00
parent 51ef60f17e
commit b701e31b75
3 changed files with 458 additions and 0 deletions

View File

@@ -25,6 +25,14 @@ jobs:
node-version: 20
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y unzip
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v21.12/protoc-21.12-linux-x86_64.zip
unzip protoc-21.12-linux-x86_64.zip -d protoc21
sudo mv protoc21/bin/protoc /usr/local/bin/
if: ${{ steps.release.outputs.release_created }}
- name: Publish to NPM
run: |
npm ci