Smartable/.woodpecker.yaml

18 lines
549 B
YAML
Raw Permalink Normal View History

2024-07-15 22:33:29 +02:00
steps:
- name: build_library
image: node:alpine
volumes:
- /tmp/woodpecker/cache/uikernel/smartable/node_modules:/woodpecker/src/code.zeptotech.net/UIKernel/Smartable/node_modules
- /tmp/woodpecker/cache/uikernel/smartable/.yarn/cache:/woodpecker/src/code.zeptotech.net/UIKernel/Smartable/.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*