mirror of
https://github.com/renovatebot/renovate.git
synced 2024-12-22 05:28:35 +00:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
import got from 'got';
|
|
import { updateJsonFile } from './utils.mjs';
|
|
|
|
const dataUrl =
|
|
'https://raw.githubusercontent.com/nodejs/LTS/HEAD/schedule.json';
|
|
|
|
await (async () => {
|
|
console.log('Generating node schedule');
|
|
const { body } = await got(dataUrl);
|
|
await updateJsonFile('./data/node-js-schedule.json', body);
|
|
})();
|