workflow workaround?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
21fec0134c
commit
006980cb9d
2 changed files with 12 additions and 10 deletions
10
.github/workflows/pl-api.yaml
vendored
10
.github/workflows/pl-api.yaml
vendored
|
@ -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
|
||||
|
|
12
.github/workflows/pl-fe.yaml
vendored
12
.github/workflows/pl-fe.yaml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue