From 006980cb9dc7c10e5120e8121064093ce1af661e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 29 Oct 2024 21:22:09 +0100 Subject: [PATCH] workflow workaround? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- .github/workflows/pl-api.yaml | 10 ---------- .github/workflows/pl-fe.yaml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pl-api.yaml b/.github/workflows/pl-api.yaml index 0ca7f500c..ea503280f 100644 --- a/.github/workflows/pl-api.yaml +++ b/.github/workflows/pl-api.yaml @@ -39,13 +39,3 @@ jobs: NODE_ENV: production working-directory: ./packages/pl-api run: yarn build - - - name: Build documentation - working-directory: ./packages/pl-api - run: npx typedoc lib/main.ts - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: pl-api - path: packages/pl-api/docs diff --git a/.github/workflows/pl-fe.yaml b/.github/workflows/pl-fe.yaml index ff67a2dbb..3f5e3a0b2 100644 --- a/.github/workflows/pl-fe.yaml +++ b/.github/workflows/pl-fe.yaml @@ -59,6 +59,18 @@ jobs: working-directory: ./packages/pl-fe/dist run: zip -r pl-fe.zip . + - name: Install pl-api deps + working-directory: ./packages/pl-api + run: yarn install --ignore-scripts + + - name: Build pl-api documentation + working-directory: ./packages/pl-api + run: npx typedoc lib/main.ts + + - name: Copy pl-api documentation + working-directory: ./packages/pl-api + run: cp docs ../pl-fe/pl-api-docs -r + - name: Upload Github Pages artifact uses: actions/upload-pages-artifact@v3 with: