2023-04-23 10:30:32 +00:00
|
|
|
version: 2.1
|
|
|
|
|
|
|
|
orbs:
|
|
|
|
node: circleci/node@5.1.0
|
|
|
|
|
2023-04-23 11:10:48 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
setup:
|
|
|
|
docker:
|
2023-04-23 11:22:19 +00:00
|
|
|
- image: "cimg/node:lts"
|
2023-04-23 11:10:48 +00:00
|
|
|
steps:
|
|
|
|
- add_ssh_keys:
|
|
|
|
fingerprints:
|
2023-04-23 11:23:32 +00:00
|
|
|
- "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9"
|
2023-04-23 11:10:48 +00:00
|
|
|
- checkout
|
2023-04-23 10:30:32 +00:00
|
|
|
workflows:
|
|
|
|
release:
|
|
|
|
jobs:
|
2023-04-23 11:10:48 +00:00
|
|
|
- setup
|
|
|
|
- node/run:
|
|
|
|
npm-run: build
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
- /^develop-.*$/
|
|
|
|
- node/run:
|
|
|
|
npm-run: semantic-release
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- develop
|
|
|
|
- /^develop-.*$/
|
|
|
|
|