ci: setup circle ci

This commit is contained in:
Derrick Hammer 2023-04-23 06:30:32 -04:00
parent 69e999aef5
commit 4f920d6958
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 34 additions and 0 deletions

34
.circleci/config.yml Normal file
View File

@ -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-.*$/