diff --git a/.readme/template.md b/.readme/template.md index 29d56772..c939a437 100644 --- a/.readme/template.md +++ b/.readme/template.md @@ -52,7 +52,7 @@ https://iptv-org.github.io/epg/api/channels.json ] ``` -### List of programs + ## Contribution diff --git a/scripts/commands/update-api.js b/scripts/commands/update-api.js index d6c18b8f..0ac614e2 100644 --- a/scripts/commands/update-api.js +++ b/scripts/commands/update-api.js @@ -6,7 +6,10 @@ const API_DIR = process.env.API_DIR || '.gh-pages/api' async function main() { await generateChannelsJson() - await generateProgramsJson() + + // Reason: File api/programs.json is 419.08 MB; this exceeds GitHub's file size limit of 100.00 MB + // await generateProgramsJson() + logger.info(`Done`) } diff --git a/tests/__data__/expected/readme.md b/tests/__data__/expected/readme.md index fc7c5398..9e1615ca 100644 --- a/tests/__data__/expected/readme.md +++ b/tests/__data__/expected/readme.md @@ -77,7 +77,7 @@ https://iptv-org.github.io/epg/api/channels.json ] ``` -### List of programs + ## Contribution diff --git a/tests/commands/update-api.test.js b/tests/commands/update-api.test.js index 22bcec7b..cc16fce7 100644 --- a/tests/commands/update-api.test.js +++ b/tests/commands/update-api.test.js @@ -32,12 +32,12 @@ it('can generate channels.json', () => { expect(output).toBe(expected) }) -it('can generate programs.json', () => { - const output = content('tests/__data__/output/api/programs.json') - const expected = content('tests/__data__/expected/api/programs.json') +// it('can generate programs.json', () => { +// const output = content('tests/__data__/output/api/programs.json') +// const expected = content('tests/__data__/expected/api/programs.json') - expect(output).toBe(expected) -}) +// expect(output).toBe(expected) +// }) function content(filepath) { const data = fs.readFileSync(path.resolve(filepath), {