ci(ws): run client generator on frontend PR check (#519)
Signed-off-by: Guilherme Caponetto <638737+caponetto@users.noreply.github.com>
This commit is contained in:
parent
053f2781ae
commit
d2b97e78eb
|
@ -22,6 +22,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
@ -36,6 +38,10 @@ jobs:
|
||||||
working-directory: workspaces/frontend
|
working-directory: workspaces/frontend
|
||||||
run: npm run build:clean
|
run: npm run build:clean
|
||||||
|
|
||||||
|
- name: Regenerate API layer code
|
||||||
|
working-directory: workspaces/frontend
|
||||||
|
run: npm run generate:api
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: workspaces/frontend
|
working-directory: workspaces/frontend
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
Loading…
Reference in New Issue