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
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
|
@ -36,6 +38,10 @@ jobs:
|
|||
working-directory: workspaces/frontend
|
||||
run: npm run build:clean
|
||||
|
||||
- name: Regenerate API layer code
|
||||
working-directory: workspaces/frontend
|
||||
run: npm run generate:api
|
||||
|
||||
- name: Build
|
||||
working-directory: workspaces/frontend
|
||||
run: npm run build
|
||||
|
|
Loading…
Reference in New Issue