Oprava Woodpecker pipeline
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
parent
61f13d2132
commit
55fd368663
@ -1,22 +1,30 @@
|
|||||||
variables:
|
variables:
|
||||||
- &node_image 'node:22-alpine'
|
- &node_image "node:22-alpine"
|
||||||
- &branch 'master'
|
- &branch "master"
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: *branch
|
branch: *branch
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Generate TypeScript types
|
||||||
|
image: *node_image
|
||||||
|
commands:
|
||||||
|
- cd types
|
||||||
|
- yarn install --frozen-lockfile
|
||||||
|
- yarn openapi-ts
|
||||||
- name: Install server dependencies
|
- name: Install server dependencies
|
||||||
image: *node_image
|
image: *node_image
|
||||||
commands:
|
commands:
|
||||||
- cd server
|
- cd server
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
depends_on: [Generate TypeScript types]
|
||||||
- name: Install client dependencies
|
- name: Install client dependencies
|
||||||
image: *node_image
|
image: *node_image
|
||||||
commands:
|
commands:
|
||||||
- cd client
|
- cd client
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
|
depends_on: [Generate TypeScript types]
|
||||||
- name: Build server
|
- name: Build server
|
||||||
depends_on: [Install server dependencies]
|
depends_on: [Install server dependencies]
|
||||||
image: *node_image
|
image: *node_image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user