mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
feat(setup-install): run with --no-interaction
This commit is contained in:
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -8,6 +8,7 @@ const BASE_ARGS = [
|
||||
'--admin-firstname=Admin',
|
||||
'--admin-lastname=User',
|
||||
'--backend-frontname=admin',
|
||||
'--no-interaction',
|
||||
];
|
||||
|
||||
const MYSQL_SERVICE = {
|
||||
@@ -60,6 +61,10 @@ describe('buildInstallArgs', () => {
|
||||
it('returns only base args when services is empty', () => {
|
||||
expect(buildInstallArgs({})).toEqual(BASE_ARGS);
|
||||
});
|
||||
|
||||
it('runs non-interactively', () => {
|
||||
expect(buildInstallArgs(null)).toContain('--no-interaction');
|
||||
});
|
||||
});
|
||||
|
||||
describe('mysql', () => {
|
||||
|
||||
@@ -24,6 +24,7 @@ const BASE_ARGS = [
|
||||
'--admin-firstname=Admin',
|
||||
'--admin-lastname=User',
|
||||
'--backend-frontname=admin',
|
||||
'--no-interaction',
|
||||
];
|
||||
|
||||
const parsePort = (svc: ServiceConfig | undefined, index: 0 | 1, fallback: string): string => {
|
||||
|
||||
Reference in New Issue
Block a user