workflow workaround?

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-29 21:22:09 +01:00
parent 21fec0134c
commit 006980cb9d
2 changed files with 12 additions and 10 deletions

View file

@ -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

View file

@ -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: