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:
|
|
|
|
- image: "circleci/node:lts"
|
|
|
|
steps:
|
|
|
|
- add_ssh_keys:
|
|
|
|
fingerprints:
|
|
|
|
- "SHA256:Gs0mI8VeDvaMRBUlJMwnLgiBTodCWyHDXKSXQcXW1mo"
|
|
|
|
- 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-.*$/
|
|
|
|
|