Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2.1
jobs:
build:
docker:
- image: circleci/node:chakracore-10.13.0
steps:
- checkout
- run:
name: Check current version of node
command: node -v
- restore_cache:
keys:
- node_modules_cache_{{ checksum "package-lock.json" }}
- run:
name: Install project dependencies
command: |
if [ ! -d "node_modules" ]; then
npm ci -f
fi
- save_cache:
key: node_modules_cache_{{ checksum "package-lock.json" }}
paths:
- node_modules
- run:
name: Run Tests
command: npm run test:ci
- store_artifacts:
path: coverage
- run:
name: install sonar scanner
command: sudo npm install -g sonarqube-scanner
- run:
name: Run SonarScan
command: sonar-scanner
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ UserInterfaceState.xcuserstate
/src/assets/data/

google-services.json

#sonarcloud
.scannerwork
Loading