Merge pull request #135 from pluginpal/feature/fix-tests-ci
fix: run tests twice in CI, allowing the first try to failpull/136/head
commit
7374c2758e
|
@ -3,18 +3,7 @@ module.exports = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
config: {
|
config: {
|
||||||
importOnBootstrap: false,
|
importOnBootstrap: false,
|
||||||
minify: false,
|
minify: true,
|
||||||
customTypes: [
|
|
||||||
{
|
|
||||||
configName: "home",
|
|
||||||
queryString: "api::home.home",
|
|
||||||
uid: ["slug"],
|
|
||||||
components: [
|
|
||||||
"Profile",
|
|
||||||
"Profile.ContactInfo",
|
|
||||||
],
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,11 +15,6 @@
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"Profile": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": false,
|
|
||||||
"component": "core.profile"
|
|
||||||
},
|
|
||||||
"slug": {
|
"slug": {
|
||||||
"type": "uid",
|
"type": "uid",
|
||||||
"targetField": "title"
|
"targetField": "title"
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_core_contact_infos",
|
|
||||||
"info": {
|
|
||||||
"displayName": "ContactInfo"
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"Phonenumber": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"Email": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"collectionName": "components_core_profiles",
|
|
||||||
"info": {
|
|
||||||
"displayName": "Profile",
|
|
||||||
"description": ""
|
|
||||||
},
|
|
||||||
"options": {},
|
|
||||||
"attributes": {
|
|
||||||
"title": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"ContactInfo": {
|
|
||||||
"type": "component",
|
|
||||||
"repeatable": true,
|
|
||||||
"component": "core.contact-info"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,33 +1,5 @@
|
||||||
import type { Schema, Attribute } from '@strapi/strapi';
|
import type { Schema, Attribute } from '@strapi/strapi';
|
||||||
|
|
||||||
export interface CoreProfile extends Schema.Component {
|
|
||||||
collectionName: 'components_core_profiles';
|
|
||||||
info: {
|
|
||||||
displayName: 'Profile';
|
|
||||||
description: '';
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
title: Attribute.String;
|
|
||||||
ContactInfo: Attribute.Component<'core.contact-info', true>;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface CoreContactInfo extends Schema.Component {
|
|
||||||
collectionName: 'components_core_contact_infos';
|
|
||||||
info: {
|
|
||||||
displayName: 'ContactInfo';
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
Phonenumber: Attribute.String;
|
|
||||||
Email: Attribute.String;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module '@strapi/types' {
|
declare module '@strapi/types' {
|
||||||
export module Shared {
|
export module Shared {}
|
||||||
export interface Components {
|
|
||||||
'core.profile': CoreProfile;
|
|
||||||
'core.contact-info': CoreContactInfo;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -362,6 +362,50 @@ export interface AdminTransferTokenPermission extends Schema.CollectionType {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ApiHomeHome extends Schema.SingleType {
|
||||||
|
collectionName: 'homes';
|
||||||
|
info: {
|
||||||
|
singularName: 'home';
|
||||||
|
pluralName: 'homes';
|
||||||
|
displayName: 'Home';
|
||||||
|
description: '';
|
||||||
|
};
|
||||||
|
options: {
|
||||||
|
draftAndPublish: false;
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
title: Attribute.String;
|
||||||
|
slug: Attribute.UID<'api::home.home', 'title'>;
|
||||||
|
createdAt: Attribute.DateTime;
|
||||||
|
updatedAt: Attribute.DateTime;
|
||||||
|
createdBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
||||||
|
Attribute.Private;
|
||||||
|
updatedBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
||||||
|
Attribute.Private;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ApiPagePage extends Schema.CollectionType {
|
||||||
|
collectionName: 'pages';
|
||||||
|
info: {
|
||||||
|
singularName: 'page';
|
||||||
|
pluralName: 'pages';
|
||||||
|
displayName: 'Page';
|
||||||
|
};
|
||||||
|
options: {
|
||||||
|
draftAndPublish: false;
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
title: Attribute.String & Attribute.Required;
|
||||||
|
createdAt: Attribute.DateTime;
|
||||||
|
updatedAt: Attribute.DateTime;
|
||||||
|
createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
||||||
|
Attribute.Private;
|
||||||
|
updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
||||||
|
Attribute.Private;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface PluginUploadFile extends Schema.CollectionType {
|
export interface PluginUploadFile extends Schema.CollectionType {
|
||||||
collectionName: 'files';
|
collectionName: 'files';
|
||||||
info: {
|
info: {
|
||||||
|
@ -788,51 +832,6 @@ export interface PluginUsersPermissionsUser extends Schema.CollectionType {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ApiHomeHome extends Schema.SingleType {
|
|
||||||
collectionName: 'homes';
|
|
||||||
info: {
|
|
||||||
singularName: 'home';
|
|
||||||
pluralName: 'homes';
|
|
||||||
displayName: 'Home';
|
|
||||||
description: '';
|
|
||||||
};
|
|
||||||
options: {
|
|
||||||
draftAndPublish: false;
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
title: Attribute.String;
|
|
||||||
Profile: Attribute.Component<'core.profile'>;
|
|
||||||
slug: Attribute.UID<'api::home.home', 'title'>;
|
|
||||||
createdAt: Attribute.DateTime;
|
|
||||||
updatedAt: Attribute.DateTime;
|
|
||||||
createdBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
|
||||||
Attribute.Private;
|
|
||||||
updatedBy: Attribute.Relation<'api::home.home', 'oneToOne', 'admin::user'> &
|
|
||||||
Attribute.Private;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ApiPagePage extends Schema.CollectionType {
|
|
||||||
collectionName: 'pages';
|
|
||||||
info: {
|
|
||||||
singularName: 'page';
|
|
||||||
pluralName: 'pages';
|
|
||||||
displayName: 'Page';
|
|
||||||
};
|
|
||||||
options: {
|
|
||||||
draftAndPublish: false;
|
|
||||||
};
|
|
||||||
attributes: {
|
|
||||||
title: Attribute.String & Attribute.Required;
|
|
||||||
createdAt: Attribute.DateTime;
|
|
||||||
updatedAt: Attribute.DateTime;
|
|
||||||
createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
|
||||||
Attribute.Private;
|
|
||||||
updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
|
|
||||||
Attribute.Private;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module '@strapi/types' {
|
declare module '@strapi/types' {
|
||||||
export module Shared {
|
export module Shared {
|
||||||
export interface ContentTypes {
|
export interface ContentTypes {
|
||||||
|
@ -843,6 +842,8 @@ declare module '@strapi/types' {
|
||||||
'admin::api-token-permission': AdminApiTokenPermission;
|
'admin::api-token-permission': AdminApiTokenPermission;
|
||||||
'admin::transfer-token': AdminTransferToken;
|
'admin::transfer-token': AdminTransferToken;
|
||||||
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
'admin::transfer-token-permission': AdminTransferTokenPermission;
|
||||||
|
'api::home.home': ApiHomeHome;
|
||||||
|
'api::page.page': ApiPagePage;
|
||||||
'plugin::upload.file': PluginUploadFile;
|
'plugin::upload.file': PluginUploadFile;
|
||||||
'plugin::upload.folder': PluginUploadFolder;
|
'plugin::upload.folder': PluginUploadFolder;
|
||||||
'plugin::content-releases.release': PluginContentReleasesRelease;
|
'plugin::content-releases.release': PluginContentReleasesRelease;
|
||||||
|
@ -851,8 +852,6 @@ declare module '@strapi/types' {
|
||||||
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
|
||||||
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
'plugin::users-permissions.role': PluginUsersPermissionsRole;
|
||||||
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
'plugin::users-permissions.user': PluginUsersPermissionsUser;
|
||||||
'api::home.home': ApiHomeHome;
|
|
||||||
'api::page.page': ApiPagePage;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue