Switch from global to local npm install
Some checks failed
Generate and Release Protos / release (push) Failing after 24s

This commit is contained in:
Fred Boniface
2025-12-16 22:08:21 +00:00
parent 1598e7fcf9
commit 57078f01c1

View File

@@ -36,15 +36,14 @@ jobs:
- name: Install TS-Proto Plugin
run: |
npm install -g ts-proto
npm install ts-proto
NPM_BIN_PATH=$(npm config get prefix)/bin
echo "$NPM_BIN_PATH" >> $GITHUB_PATH
echo "$(pwd)/node_modules/.bin" >> $GITHUB_PATH
- name: Debug Plugin Locations
run: |
echo "Searching for plugins..."
which protoc-gen-go
find $NPM_BIN_PATH -name "protoc-gen-ts-proto"
which protoc-gen-ts-proto
- name: Generate Code