2023-04-23 10:30:32 +00:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
orbs:
|
|
|
|
node: circleci/node@5.1.0
|
2023-04-23 12:28:18 +00:00
|
|
|
ssh: credijusto/ssh@0.5.2
|
2023-04-23 10:30:32 +00:00
|
|
|
workflows:
|
|
|
|
release:
|
|
|
|
jobs:
|
2023-04-23 11:10:48 +00:00
|
|
|
- node/run:
|
2023-04-23 11:26:43 +00:00
|
|
|
name: build
|
2023-04-23 11:10:48 +00:00
|
|
|
npm-run: build
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
- /^develop-.*$/
|
|
|
|
- node/run:
|
2023-04-23 11:26:43 +00:00
|
|
|
name: release
|
2023-04-23 11:10:48 +00:00
|
|
|
npm-run: semantic-release
|
2023-04-23 11:26:43 +00:00
|
|
|
requires:
|
|
|
|
- build
|
2023-04-23 11:10:48 +00:00
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
- /^develop-.*$/
|
|
|
|
|
2023-04-23 12:30:07 +00:00
|
|
|
context:
|
|
|
|
- publish
|
2023-04-23 12:35:53 +00:00
|
|
|
setup:
|
|
|
|
- add_ssh_keys:
|
|
|
|
fingerprints:
|
|
|
|
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
|
|
|
- ssh/ssh-add-host:
|
|
|
|
host_url: GITEA_HOST
|