Skip to content

Commit ffb9cf0

Browse files
VoloVolo
authored andcommitted
Fix pipeline
Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Fix pipeline Remove unneded step from CI
1 parent 2feb2aa commit ffb9cf0

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
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

4950
workflows:

test/integration/admins.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import assert from 'assert';
44

55
describe('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();

0 commit comments

Comments
 (0)