Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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: Run SonarScan
command: npm run sonar-scanner
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

command is wrong, it should just 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