Smartable/.woodpecker.yaml
2024-07-15 22:33:29 +02:00

17 lines
549 B
YAML

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*