Core/.woodpecker.yaml

18 lines
529 B
YAML
Raw Normal View History

steps:
- name: build_library
image: node:alpine
volumes:
- /tmp/woodpecker/cache/uikernel/core/node_modules:/woodpecker/src/code.zeptotech.net/UIKernel/Core/node_modules
- /tmp/woodpecker/cache/uikernel/core/.yarn/cache:/woodpecker/src/code.zeptotech.net/UIKernel/Core/.yarn/cache
secrets:
- FORGE_TOKEN
commands:
- corepack enable
- yarn install
- yarn build
- ./.woodpecker/yarn_auth.sh
- yarn npm publish
when:
- event: tag
ref: refs/tags/v*