From 89dac135d82b3abadb845012be63513d1b0a86fb Mon Sep 17 00:00:00 2001 From: Justin Flannery Date: Thu, 26 Dec 2024 15:38:46 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20ci=20generation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/generator.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/generator.yaml diff --git a/.github/workflows/generator.yaml b/.github/workflows/generator.yaml new file mode 100644 index 0000000..7d45350 --- /dev/null +++ b/.github/workflows/generator.yaml @@ -0,0 +1,31 @@ +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json + +name: OpenAPI Client Generator + +on: + workflow_dispatch: + push: + branches: + - v2 + +jobs: + generate: + runs-on: ubuntu-latest + steps: + - name: Checkout Latest Code + uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: '21' + - name: Install dependencies + run: npm clean-install + - name: Verify NPM Signatures + run: npm audit signatures + - name: Generate OpenAPI Client + run: npm run generate