Ensure plugins are present
Some checks failed
Generate and Release Protos / release (push) Failing after 11s
Some checks failed
Generate and Release Protos / release (push) Failing after 11s
This commit is contained in:
@@ -19,15 +19,24 @@ jobs:
|
||||
|
||||
- uses: bufbuild/buf-setup-action@v1
|
||||
|
||||
- name: Generate Code
|
||||
run: buf generate
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '18.18.x'
|
||||
registry-url: 'https://git.fjla.uk/api/packages/owlboard/npm'
|
||||
scope: '@owlboard'
|
||||
|
||||
- name: Install Go Protoc Plugin
|
||||
run: |
|
||||
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
|
||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Install TS-Proto Plugin
|
||||
run: |
|
||||
npm install -g ts-proto
|
||||
|
||||
- name: Generate Code
|
||||
run: buf generate
|
||||
|
||||
- name: Publish TS
|
||||
working-directory: gen/ts
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user