react/scripts/release/build-release-locally-commands/confirm-automated-testing.js
Brian Vaughn 8e13f099ab
Overhauled release scripts and docs (#18569)
* Overhauled release scripts and docs
2020-04-10 12:28:40 -07:00

25 lines
438 B
JavaScript

#!/usr/bin/env node
'use strict';
const clear = require('clear');
const {confirm} = require('../utils');
const theme = require('../theme');
const run = async () => {
clear();
console.log(
theme.caution(
'This script does not run any automated tests.' +
'You should run them manually before creating a "next" release.'
)
);
await confirm('Do you want to proceed?');
clear();
};
module.exports = run;