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: