mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
ci: Setup a semi-automated release process (no-changelog) (#5504)
* ci: Setup a semi-automated release process (no-changelog) * create tag/release before deleting the temporary branch
This commit is contained in:
committed by
GitHub
parent
5d74a2f89a
commit
3ae005cafe
@@ -7,8 +7,6 @@ import { defineConfig as defineVitestConfig } from 'vitest/config';
|
||||
|
||||
import packageJSON from './package.json';
|
||||
|
||||
const isCI = process.env.CI === 'true';
|
||||
|
||||
const vendorChunks = ['vue', 'vue-router'];
|
||||
const n8nChunks = ['n8n-workflow', 'n8n-design-system'];
|
||||
const ignoreChunks = [
|
||||
@@ -63,18 +61,14 @@ export default mergeConfig(
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
...(!isCI
|
||||
? [
|
||||
legacy({
|
||||
targets: ['defaults', 'not IE 11'],
|
||||
}),
|
||||
monacoEditorPlugin({
|
||||
publicPath: 'assets/monaco-editor',
|
||||
customDistPath: (root: string, buildOutDir: string, base: string) =>
|
||||
`${root}/${buildOutDir}/assets/monaco-editor`,
|
||||
}),
|
||||
]
|
||||
: []),
|
||||
legacy({
|
||||
targets: ['defaults', 'not IE 11'],
|
||||
}),
|
||||
monacoEditorPlugin({
|
||||
publicPath: 'assets/monaco-editor',
|
||||
customDistPath: (root: string, buildOutDir: string, base: string) =>
|
||||
`${root}/${buildOutDir}/assets/monaco-editor`,
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
alias: [
|
||||
@@ -113,11 +107,9 @@ export default mergeConfig(
|
||||
},
|
||||
},
|
||||
build: {
|
||||
minify: !isCI,
|
||||
assetsInlineLimit: 0,
|
||||
sourcemap: false,
|
||||
rollupOptions: {
|
||||
treeshake: !isCI,
|
||||
output: {
|
||||
manualChunks: {
|
||||
vendor: vendorChunks,
|
||||
|
||||
Reference in New Issue
Block a user