Skip to content

Commit 95c55ca

Browse files
VoloVolo
authored andcommitted
Add integration tests job
Add integration tests job
1 parent 29c4dda commit 95c55ca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ jobs:
2525
- restore_cache:
2626
key: dependency-cache-{{ checksum "yarn.lock" }}
2727
- run: yarn test:unit
28+
integration_test:
29+
docker:
30+
- image: circleci/node:14-browsers
31+
working_directory: ~/intercom-node
32+
steps:
33+
- checkout
34+
- restore_cache:
35+
key: dependency-cache-{{ checksum "yarn.lock" }}
36+
- export $API_TOKEN
37+
- run: yarn test:integration
2838

2939
workflows:
3040
version: 2
@@ -34,6 +44,11 @@ workflows:
3444
- unit_test:
3545
requires:
3646
- build
47+
- integration_test_approval:
48+
type: approval
49+
- integration_test:
50+
requires:
51+
- integration_test_approval
3752

3853
notify:
3954
webhooks:

0 commit comments

Comments
 (0)