0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 05:28:35 +00:00
renovatebot_renovate/tools/static-data/generate-node-schedule.mjs
2023-04-28 12:17:48 +00:00

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);
})();