Switch from global to local npm install
Some checks failed
Generate and Release Protos / release (push) Failing after 24s
Some checks failed
Generate and Release Protos / release (push) Failing after 24s
This commit is contained in:
@@ -36,15 +36,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Install TS-Proto Plugin
|
- name: Install TS-Proto Plugin
|
||||||
run: |
|
run: |
|
||||||
npm install -g ts-proto
|
npm install ts-proto
|
||||||
NPM_BIN_PATH=$(npm config get prefix)/bin
|
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
|
- name: Debug Plugin Locations
|
||||||
run: |
|
run: |
|
||||||
echo "Searching for plugins..."
|
echo "Searching for plugins..."
|
||||||
which protoc-gen-go
|
which protoc-gen-go
|
||||||
find $NPM_BIN_PATH -name "protoc-gen-ts-proto"
|
|
||||||
which protoc-gen-ts-proto
|
which protoc-gen-ts-proto
|
||||||
|
|
||||||
- name: Generate Code
|
- name: Generate Code
|
||||||
|
|||||||
Reference in New Issue
Block a user