File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1515 key : dependency-cache-{{ checksum "yarn.lock" }}
1616 paths :
1717 - node_modules
18+ - .yarn/cache
1819 - restore_cache :
1920 key : dist-cache-{{ .Environment.CIRCLE_SHA1 }}
2021 - run : yarn prepublish
@@ -34,16 +35,16 @@ jobs:
3435 integration_test :
3536 docker :
3637 - image : circleci/node:14-browsers
38+ environment :
39+ API_TOKEN : $API_TOKEN
3740 working_directory : ~/intercom-node
38- environment :
39- API_TOKEN : $API_TOKEN
41+
4042 steps :
4143 - checkout
4244 - restore_cache :
4345 key : dependency-cache-{{ checksum "yarn.lock" }}
4446 - restore_cache :
4547 key : dist-cache-{{ .Environment.CIRCLE_SHA1 }}
46- # - run: export $API_TOKEN
4748 - run : yarn test:integration
4849
4950workflows :
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import assert from 'assert';
44
55describe ( 'Admins' , ( ) => {
66 let adminId : string ;
7- const client = new Client ( { tokenAuth : { token } } ) ;
7+ const client = new Client ( {
8+ tokenAuth : { token } ,
9+ } ) ;
810
911 it ( 'list' , async ( ) => {
1012 const response = await client . admins . list ( ) ;
You can’t perform that action at this time.
0 commit comments