2020-11-01 01:17:48 +08:00
|
|
|
# This is a sample build configuration for Other.
|
|
|
|
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
|
|
|
|
# Only use spaces to indent your .yml configuration.
|
|
|
|
# -----
|
|
|
|
# You can specify a custom docker image from Docker Hub as your build environment.
|
|
|
|
image: atlassian/default-image:2
|
|
|
|
|
|
|
|
pipelines:
|
|
|
|
custom:
|
|
|
|
npmpublish:
|
2021-05-11 02:58:09 +08:00
|
|
|
- step:
|
2021-05-11 03:01:50 +08:00
|
|
|
script:
|
2021-05-11 03:38:21 +08:00
|
|
|
- echo "Getting Submodules"
|
|
|
|
- git submodule update --init --recursive
|
2020-11-01 01:17:48 +08:00
|
|
|
- echo "Publishing Unity UI Extensions to NPM"
|
|
|
|
- pipe: atlassian/npm-publish:0.3.1
|
|
|
|
variables:
|
|
|
|
NPM_TOKEN: $NPM_TOKEN
|