Skip to content

Commit

Permalink
build: include e2e tests in renovate config (#37005)
Browse files Browse the repository at this point in the history
  • Loading branch information
axe312ger committed Nov 14, 2022
1 parent 8fc95f5 commit b69709c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 280 deletions.
296 changes: 17 additions & 279 deletions renovate.json5
Expand Up @@ -17,7 +17,8 @@
"package.json",
"packages/**",
"starters/**",
"examples/**"
"examples/**",
"e2e-tests/**"
],
"major": {
"dependencyDashboardApproval": true
Expand Down Expand Up @@ -97,6 +98,19 @@
"groupSlug": "starters-examples-major",
"dependencyDashboardApproval": false
},
{
"groupName": "E2E tests",
"commitMessageTopic": "e2e-tests",
"matchPaths": [
"e2e-tests/**"
],
"schedule": "before 7am on Monday",
"matchUpdateTypes": [
"major"
],
"groupSlug": "e2e-tests-major",
"dependencyDashboardApproval": false
},
{
"extends": [
"monorepo:gatsby"
Expand Down Expand Up @@ -10366,10 +10380,7 @@
],
"groupName": "minor and patch dependencies for gatsby-plugin-mdx",
"groupSlug": "gatsby-plugin-mdx-prod-minor",
"matchPackageNames": [
"eval",
"style-to-object"
],
"matchPackageNames": [],
"matchUpdateTypes": [
"patch"
],
Expand Down Expand Up @@ -10413,10 +10424,7 @@
],
"groupName": "major dependencies for gatsby-plugin-mdx",
"groupSlug": "gatsby-plugin-mdx-prod-major",
"matchPackageNames": [
"eval",
"style-to-object"
],
"matchPackageNames": [],
"matchUpdateTypes": [
"major",
"minor"
Expand Down Expand Up @@ -13137,274 +13145,6 @@
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-react-helmet{{/unless}}",
"dependencyDashboardApproval": true
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"devDependencies"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"groupName": "[DEV] minor and patch dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-dev-minor",
"automerge": true,
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}"
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"devDependencies"
],
"matchUpdateTypes": [
"major"
],
"groupName": "[DEV] major dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-dev-major",
"automerge": true,
"dependencyDashboardApproval": false,
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}"
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"dependencies"
],
"matchUpdateTypes": [
"patch",
"minor"
],
"groupName": "minor and patch dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-prod-minor",
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}"
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"dependencies"
],
"matchUpdateTypes": [
"major"
],
"groupName": "major dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-prod-major",
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}",
"dependencyDashboardApproval": true
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"dependencies"
],
"groupName": "minor and patch dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-prod-minor",
"matchPackageNames": [],
"matchUpdateTypes": [
"patch"
],
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}"
},
{
"matchPaths": [
"packages/gatsby-plugin-remove-trailing-slashes/package.json"
],
"matchDepTypes": [
"dependencies"
],
"groupName": "major dependencies for gatsby-plugin-remove-trailing-slashes",
"groupSlug": "gatsby-plugin-remove-trailing-slashes-prod-major",
"matchPackageNames": [],
"matchUpdateTypes": [
"major",
"minor"
],
"excludePackageNames": [
"eslint",
"prettier",
"cross-env",
"execa",
"mini-css-extract-plugin",
"sharp",
"@types/sharp",
"typescript",
"cypress",
"cypress-image-snapshot",
"chalk",
"fs-extra",
"@types/fs-extra",
"cheerio",
"semver",
"@types/semver",
"core-js",
"core-js-compat",
"chokidar"
],
"excludePackagePatterns": [
"^@babel",
"^eslint-",
"^@typescript-eslint/",
"^@testing-library/",
"^@parcel/",
"lmdb"
],
"commitMessageSuffix": "{{#unless groupName}} for gatsby-plugin-remove-trailing-slashes{{/unless}}",
"dependencyDashboardApproval": true
},
{
"matchPaths": [
"packages/gatsby-plugin-sass/package.json"
Expand Down Expand Up @@ -21117,7 +20857,6 @@
"groupName": "minor and patch dependencies for gatsby-source-contentful",
"groupSlug": "gatsby-source-contentful-prod-minor",
"matchPackageNames": [
"axios",
"url"
],
"matchUpdateTypes": [
Expand Down Expand Up @@ -21164,7 +20903,6 @@
"groupName": "major dependencies for gatsby-source-contentful",
"groupSlug": "gatsby-source-contentful-prod-major",
"matchPackageNames": [
"axios",
"url"
],
"matchUpdateTypes": [
Expand Down
17 changes: 16 additions & 1 deletion scripts/renovate-config-generator.js
Expand Up @@ -221,6 +221,15 @@ const defaultPackageRules = [
groupSlug: `starters-examples-major`,
dependencyDashboardApproval: false,
},
{
groupName: `E2E tests`,
commitMessageTopic: `e2e-tests`,
matchPaths: [`e2e-tests/**`],
schedule: `before 7am on Monday`,
matchUpdateTypes: [`major`],
groupSlug: `e2e-tests-major`,
dependencyDashboardApproval: false,
},
{
extends: [`monorepo:gatsby`],
commitMessageTopic: `starters and examples Gatsby packages`,
Expand Down Expand Up @@ -353,7 +362,13 @@ const renovateConfig = {
`:ignoreModulesAndTests`,
`:enableVulnerabilityAlerts`,
],
includePaths: [`package.json`, `packages/**`, `starters/**`, `examples/**`],
includePaths: [
`package.json`,
`packages/**`,
`starters/**`,
`examples/**`,
`e2e-tests/**`,
],
major: {
dependencyDashboardApproval: true,
},
Expand Down

0 comments on commit b69709c

Please sign in to comment.