Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 8b57099

Browse files
authored
ci: new cicd system (#48)
* ci: new cicd system * ci: new orb
1 parent 8fa9203 commit 8b57099

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.circleci/config.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
version: 2.1
22

33
orbs:
4-
vfcommon: voiceflow/[email protected].246
4+
vfcommon: voiceflow/[email protected].277
55
sonarcloud: sonarsource/[email protected]
66

77
jobs:
8-
build-and-test:
8+
test:
99
executor: vfcommon/default-executor
1010
steps:
1111
- checkout
1212
- vfcommon/install_node_modules
13-
- vfcommon/lint_report
13+
- attach_workspace:
14+
at: ~/voiceflow
15+
- vfcommon/lint_report:
16+
run_in_background: true
1417
- vfcommon/dependency_tests:
15-
step_name: Dependency Tests
16-
- vfcommon/build
17-
- vfcommon/integration_tests
18+
run_in_background: true
19+
- vfcommon/integration_tests:
20+
wait: true
1821
- sonarcloud/scan
1922

2023
workflows:
21-
2224
test-and-release:
2325
jobs:
24-
- build-and-test:
26+
- vfcommon/install_and_build:
27+
context: dev-test
28+
29+
- test:
2530
context: dev-test
31+
requires:
32+
- vfcommon/install_and_build
2633

2734
- vfcommon/release:
2835
context: dev-test
2936
requires:
30-
- build-and-test
37+
- test
38+
- vfcommon/install_and_build
3139
filters:
3240
branches:
3341
only: master

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"lint:output": "yarn run eslint-output --quiet \"**/*.{js,ts}\"",
7474
"lint:quiet": "yarn lint --quiet",
7575
"lint:report": "yarn lint:output",
76-
"prepare": "yarn build",
7776
"test": "yarn test:run",
7877
"test:dependencies": "depcheck",
7978
"test:integration": "NODE_ENV=test nyc --report-dir nyc_coverage_integration ts-mocha --paths --opts ./config/tests/mocha.opts 'tests/**/*.it.{ts,js}'",

0 commit comments

Comments
 (0)