0
0
Fork 0
mirror of https://github.com/renovatebot/renovate.git synced 2025-01-12 22:29:06 +00:00
renovatebot_renovate/tools/static-data/generate-node-schedule.mjs
2023-04-28 12:17:48 +00:00

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