Skip to content

Commit

Permalink
Revert build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karimnaaji committed Dec 8, 2020
1 parent 51db0b9 commit c7ed000
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build/check-bundle-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ process.on('unhandledRejection', error => {
process.exit(1)
});

const SIZE_CHECK_APP_ID = 33080;
const SIZE_CHECK_APP_INSTALLATION_ID = 1155310;
const SIZE_CHECK_APP_ID = 14028;
const SIZE_CHECK_APP_INSTALLATION_ID = 229425;

const FILES = [
['JS', "dist/mapbox-gl.js"],
['CSS', "dist/mapbox-gl.css"]
];
const PK = Buffer.from(process.env['SIZE_CHECK_APP_PRIVATE_KEY'], 'base64').toString('binary');
if (!PK) {
console.log('Fork PR; not computing size.');
process.exit(0);
}
const owner = 'mapbox';
const repo = 'mapbox-gl-js-internal';
const repo = 'mapbox-gl-js';

(async () => {
// Initialize github client
Expand Down

0 comments on commit c7ed000

Please sign in to comment.