Skip to content

Commit 69f6110

Browse files
authored
ci: new ci cd system (#65)
* ci: new ci cd system * ci: update orb
1 parent 4106c86 commit 69f6110

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

.circleci/config.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,43 @@
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/unit_tests
17-
- vfcommon/integration_tests
18+
run_in_background: true
19+
- vfcommon/unit_tests:
20+
run_in_background: true
21+
- vfcommon/integration_tests:
22+
wait: true
1823
- sonarcloud/scan
1924

2025
workflows:
21-
2226
test-and-release:
2327
jobs:
24-
- build-and-test:
28+
- vfcommon/install_and_build:
29+
context: dev-test
30+
31+
- test:
2532
context: dev-test
33+
requires:
34+
- vfcommon/install_and_build
35+
2636
- vfcommon/release:
2737
context: dev-test
2838
requires:
29-
- build-and-test
39+
- test
40+
- vfcommon/install_and_build
3041
filters:
3142
branches:
3243
only: master
33-

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"lint:output": "yarn run eslint-output --quiet \"**/*.{js,ts}\"",
9797
"lint:quiet": "yarn lint --quiet",
9898
"lint:report": "yarn lint:output",
99-
"prepare": "npm run build",
10099
"test": "yarn test:run",
101100
"test:dependencies": "depcheck",
102101
"test:integration": "NODE_ENV=test nyc --report-dir=nyc_coverage_integration ts-mocha --paths --config ./config/tests/.mocharc.yml 'tests/**/*.it.ts'",

0 commit comments

Comments
 (0)