Generate the dist for ts proto
Some checks failed
ci/woodpecker/push/js-generate Pipeline failed
ci/woodpecker/push/go-generate Pipeline failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/repo-checks Pipeline failed

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-04-27 06:34:56 +02:00
parent 76a233dcfd
commit 73cf6f5a8e
2 changed files with 14 additions and 3 deletions

View File

@@ -21,7 +21,12 @@ steps:
- buf generate
- rm -rf ./target/src/api
- cp -r ./gen/ts/* ./target/src/api
- name: Clone go repo
- name: Compile typescript
image: docker.io/library/node:25.9.0-alpine3.22
commands:
- npm install
- npx tsc
- name: Push the typescrip repo
image: alpine
environment:
GITEA_USER: devops-bot
@@ -29,8 +34,6 @@ steps:
from_secret: gitea_repo_access
commands:
- apk update && apk add git
- git config user.name "woodpecker-ci"
- git config user.email "bot@badhouseplants.net"
- git -C ./target checkout $CI_COMMIT_BRANCH || git -C ./target checkout -b $CI_COMMIT_BRANCH
- git -C ./target add .
- |-

View File

@@ -1,3 +1,11 @@
version: v2
modules:
- path: proto
lint:
use:
- STANDARD
enum_zero_value_suffix: _UNSPECIFIED
rpc_allow_same_request_response: true
rpc_allow_google_protobuf_empty_requests: false
rpc_allow_google_protobuf_empty_responses: true