21 lines
581 B
YAML
21 lines
581 B
YAML
|
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
|
||
|
- pwd
|
||
|
- ls -lah
|
||
|
- cat .yarnrc.yml
|
||
|
- yarn npm publish
|
||
|
when:
|
||
|
- event: tag
|
||
|
ref: refs/tags/v*
|