Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: include e2e tests in renovate config #37005

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
296 changes: 17 additions & 279 deletions renovate.json5
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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