From 4f920d69587573871bddb19d2fefa7f50b5a3877 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 23 Apr 2023 06:30:32 -0400 Subject: [PATCH] ci: setup circle ci --- .circleci/config.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..3a65634 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,34 @@ +version: 2.1 + +orbs: + node: circleci/node@5.1.0 + +workflows: + release: + jobs: + release: + contexts: + - publish + docker: + - image: "circleci/node:lts" + steps: + - checkout + - run: + name: Set Repo Origin + command: | + git remote set-url origin https://git.lumeweb.com/LumeWeb/relay.git + - add_ssh_keys: + fingerprints: + - "SHA256:Gs0mI8VeDvaMRBUlJMwnLgiBTodCWyHDXKSXQcXW1mo" + - node/run: + npm-run: build + - node/run: + npm-run: semantic-release + environment: + CLOUDSMITH_API_KEY: $CLOUDSMITH_API_KEY + filters: + branches: + only: + - master + - develop + - /^develop-.*$/