Skip to content

Commit

Permalink
fix: Merge pull request #24 from 6RiverSystems/feat/fix-ci
Browse files Browse the repository at this point in the history
Feat/fix ci
  • Loading branch information
dnikitop authored Oct 4, 2024
2 parents 91aaa2e + 2b91114 commit e74b949
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
version: 2
version: 2.1

orbs:
sixrs-gke: sixriversystems/sixrs-gke@7

jobs:
build:
docker:
- image: circleci/node:8.12.0
steps:
- checkout
- run:
name: Set Up Environment
command: |
sudo apt-get update && sudo apt-get install -y build-essential libbluetooth-dev
echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
git clone --depth 1 git@github.com:6RiverSystems/ci_scripts.git
ci_scripts/ci_tool.sh --setup_npm
- sixrs-gke/setup-private-npm
- run:
name: Install Dependencies
command: npm ci
- run:
name: Calculate Version
command: ci_scripts/ci_tool.sh --run_release
- sixrs-gke/run-release
- persist_to_workspace:
root: ./
paths:
Expand All @@ -29,10 +25,7 @@ jobs:
steps:
- attach_workspace:
at: ./
- run:
name: Run release
command: |
ci_scripts/ci_tool.sh --setup_npm
- sixrs-gke/setup-private-npm
- run:
name: npm publish
command: npm publish
Expand Down

0 comments on commit e74b949

Please sign in to comment.