Oprava Woodpecker pipeline
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful

This commit is contained in:
Martin Berka 2025-03-05 21:19:33 +01:00
parent 61f13d2132
commit 55fd368663

View File

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