Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(.github): Create generate-openapi-code-from-typespec (#746)
<!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Add GitHub Actions workflow to generate OpenAPI code from TypeSpec, with environment setup and caching. > > - **Workflow**: > - New GitHub Actions workflow `generate-openapi-code-from-typespec` added. > - Triggers on `pull_request` and `push` events. > - **Environment Setup**: > - Uses `actions/setup-python@v5` to set Python 3.12. > - Uses `actions/setup-node@v4` to set up Node.js with npm caching. > - Configures Poetry with `snok/install-poetry@v1` and sets virtualenvs in-project. > - **Caching**: > - Caches Poetry virtualenv in `agents-api/.venv` using `actions/cache@v4`. > - **Code Generation**: > - Runs `scripts/generate_openapi_code.sh` to generate OpenAPI code. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup> for 25acd5b. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
- Loading branch information