core: ignore welcome in ci

pull/340/head
undefined 3 years ago
parent 422c078b0c
commit c25176f483

@ -84,6 +84,7 @@ int main() {
`; `;
export default async function apply() { export default async function apply() {
if (process.env.CI) return;
await DomainModel.edit('system', { bulletin }); await DomainModel.edit('system', { bulletin });
const docId = await ProblemModel.add('system', 'P1000', 'A+B Problem', defaultProblem, 1, ['系统测试']); const docId = await ProblemModel.add('system', 'P1000', 'A+B Problem', defaultProblem, 1, ['系统测试']);
// This might fail so we are doing it asynchronously. // This might fail so we are doing it asynchronously.

@ -159,6 +159,7 @@ export default function (env = {}) {
}, },
}, },
}, },
usedExports: true,
minimizer: [new ESBuildMinifyPlugin({ minimizer: [new ESBuildMinifyPlugin({
css: true, css: true,
minify: true, minify: true,

Loading…
Cancel
Save