From 7dfe29af5e73494ba158c3a2671a4c9514bf9eaf Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 22 May 2023 16:40:57 -0400 Subject: [PATCH] Build OpenAPI.yaml --- .github/workflows/pipeline.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index a7ec34c30..bc7b41d67 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -108,7 +108,24 @@ jobs: with: name: js-bundle path: ui/build - retention-days: 7 + + api: + name: Test and build API spec + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + cache: 'npm' + cache-dependency-path: '**/package-lock.json' + + - run: make testapi + + - uses: actions/upload-artifact@v3 + with: + name: openapi.yaml + path: api/openapi.yaml binaries: name: Build binaries @@ -155,7 +172,6 @@ jobs: dist !dist/*.tar.gz !dist/*.zip - retention-days: 7 docker: name: Build and publish Docker images