mirror of https://github.com/renovatebot/renovate
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);
|
|
})();
|