Files
bash-tui-toolkit/.circleci/config.yml
2023-02-15 13:57:34 +01:00

45 lines
870 B
YAML

version: "2.1"
orbs:
shellcheck: circleci/shellcheck@3.1.2
semantic-release: trustedshops-public/semantic-release@3.1.5
jobs:
build:
docker:
- image: cimg/base:2023.02
steps:
- checkout
- setup_remote_docker
- run:
name: Build script
command: make build
- store_artifacts:
path: dist/
- persist_to_workspace:
paths:
. dist/
root: .
semantic-release:
executor: semantic-release/default
steps:
- checkout
- attach_workspace:
at: .
- semantic-release/install
- semantic-release/execute
workflows:
main:
jobs:
- shellcheck/check:
name: shellcheck
dir: src
- build:
requires:
- shellcheck
- semantic-release:
requires:
- build