Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit c6759bd

Browse files
authored
Merge pull request #500 from openforge/develop
Merge Develop to Master
2 parents 1b1e08e + 349f200 commit c6759bd

File tree

414 files changed

+6982
-1881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+6982
-1881
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
language: node_js
2+
23
node_js:
3-
- 10.4.0
4+
- 10.10.0
5+
46
branches:
57
only:
68
- develop
79
- qa
810
- staging
911
- master
12+
1013
before_script:
1114
- npm install -g firebase-tools
15+
1216
script:
1317
- npm run build
18+
- npm run build:functions
1419

1520
after_success:
1621
- npm run firebase:deploy

budget.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"resourceSizes":[{"resourceType":"document","budget":20},{"resourceType":"stylesheet","budget":50},{"resourceType":"font","budget":50},{"resourceType":"image","budget":300},{"resourceType":"script","budget":100}]}]

functions/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"tslint": "^5.12.0",
1919
"typescript": "^3.2.2"
2020
},
21-
"private": true
21+
"private": true,
22+
"engines": {
23+
"node": "8"
24+
}
2225
}

functions/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export const rebuildMaster = functions.https.onRequest((butterRequest, butterRes
1515
"Content-Type": "application/json",
1616
"Accept": "application/json",
1717
"Travis-API-Version": "3",
18-
"Authorization": "token " + travisToken
18+
"Authorization": `token ${travisToken}`
1919
}
2020
};
2121

22-
const body = '{"request": {"branch":"master"}}';
22+
const body = `{"request": {"branch":"${functions.config().travis.rebuild_branch}"}}`;
2323

2424
const travisRequest = https.request(options, (travisResponse: any) => {
2525

0 commit comments

Comments
 (0)