Skip to content

feat(ci): integrates stainless client lib gen into ci #15

feat(ci): integrates stainless client lib gen into ci

feat(ci): integrates stainless client lib gen into ci #15

name: Upload OpenAPI spec to Stainless
on:
pull_request: # testing only
push:
branches: [main]
jobs:
stainless:
concurrency: upload-openapi-spec-action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: stainless-api/upload-openapi-spec-action@main
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
input_path: "crates/jstz_node/openapi.json"
config_path: "crates/jstz_node/stainless.yml"
project_name: "jstz-client"