Skip to content

Commit 16d9c60

Browse files
committed
chore(circleci): use a github token when running tsd
Also increase the heap size limit as a workaround for angular#5229 Fixes angular#6602
1 parent c0b5e7a commit 16d9c60

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

circle.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
machine:
22
node:
33
version: 5.4.1
4+
5+
dependencies:
6+
override:
7+
- npm install:
8+
environment:
9+
# Token for tsd to increase github rate limit
10+
# See https://github.com/DefinitelyTyped/tsd#tsdrc
11+
# This is not hidden using https://circleci.com/docs/fork-pr-builds#details
12+
# because those are not visible for pull requests, and those should also be reliable.
13+
# This SSO token belongs to github account angular-github-ratelimit-token which has no access
14+
# (password is in Valentine)
15+
TSD_GITHUB_TOKEN: ef474500309daea53d5991b3079159a29520a40b
16+
417
test:
518
override:
619
- npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"scripts": {
2929
"preinstall": "node tools/analytics/build-analytics start install npm3-install && node tools/analytics/build-analytics start install npm-preinstall && node tools/npm/check-node-modules && node tools/analytics/build-analytics success install npm-preinstall && node tools/analytics/build-analytics start install npm-install-net",
3030
"postinstall": "node tools/analytics/build-analytics success install npm-install-net && node tools/analytics/build-analytics start install npm-postinstall && node tools/npm/copy-npm-shrinkwrap && node tools/chromedriverpatch.js && webdriver-manager update && bower install && gulp pubget.dart && tsd reinstall --overwrite --clean --config modules/angular2/tsd.json && tsd reinstall --overwrite --clean --config tools/tsd.json && tsd reinstall --overwrite --config modules/angular1_router/tsd.json && node tools/analytics/build-analytics success install npm-postinstall && node tools/analytics/build-analytics success install npm3-install",
31-
"build": "gulp build.js",
31+
"build": "node --max-old-space-size=2048 ./node_modules/.bin/gulp build.js",
3232
"test": "gulp test.all.js && gulp test.all.dart"
3333
},
3434
"dependencies": {

0 commit comments

Comments
 (0)