ci(renovate): update screenshotter browser, .flowconfig, editor SDKs, and Actions (#2516)

* ci(renovate): update screenshotter browser image

* ci(renovate): update .flowconfig and Yarn editor SDKs

* ci(renovate): remove unnecessary option

* ci(renovate): do not skip netlify for website updates

* ci(renovate): update GitHub Actions in workflows

* ci(renovate): fix skip netlify
This commit is contained in:
ylemkimon
2020-09-22 13:43:28 +09:00
committed by GitHub
parent 8541b3a808
commit 2d484a9769
4 changed files with 39 additions and 22 deletions

View File

@@ -1,9 +0,0 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of .github
schedule:
interval: "daily"

View File

@@ -75,7 +75,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const SELENIUM_BROWSERS = ["chrome", "firefox"];
const SELENIUM_BROWSERS = ["chrome:3.141.59-20200525", "firefox:3.141.59-20200525"];
const BROWSERSTACK_BROWSERS = [{
browserName: "safari",
browser_version: "13.1",
@@ -87,10 +87,10 @@ jobs:
// running selenium doesn't require access to secrets
if (context.eventName !== "pull_request_target") {
include.push(...SELENIUM_BROWSERS.map(name => ({
browser: name,
include.push(...SELENIUM_BROWSERS.map(browserTag => ({
browser: browserTag.split(':')[0],
services: {selenium: {
image: `selenium/standalone-${name}:3.141.59-20200525`,
image: `selenium/standalone-${browserTag}`,
ports: ["4444:4444"],
}},
})));

View File

@@ -17,7 +17,7 @@ cleanup() {
container=
trap cleanup EXIT
status=0
for browserTag in firefox:3.141.59-20200525 chrome:3.141.59-20200525; do
for browserTag in "firefox:3.141.59-20200525" "chrome:3.141.59-20200525"; do
browser=${browserTag%:*}
image=selenium/standalone-${browserTag}
echo "Starting container for ${image}"

View File

@@ -7,8 +7,7 @@
"group:linters"
],
"git-submodules": {
"enabled": true,
"automerge": false
"enabled": true
},
"lockFileMaintenance": {
"enabled": true,
@@ -16,13 +15,40 @@
"stabilityDays": 0,
"dependencyDashboardApproval": true
},
"includePaths": [
"package.json",
"website/package.json",
".gitmodules"
"ignorePaths": ["dockers/texcmp/"],
"regexManagers": [
{
"fileMatch": ["^\\.github/workflows/[^/]+\\.ya?ml$"],
"matchStrings": ["uses: (?<depName>.*?)@(?<currentValue>.*?)\\s"],
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:^v(?<major>\\d+)$"
},
{
"fileMatch": [
"^\\.github/workflows/ci\\.yml$",
"^dockers/screenshotter/screenshotter\\.sh$"
],
"matchStrings": ["\"(?<browserTag>[a-z]*):(?<currentValue>[\\d.\\-]*)\""],
"datasourceTemplate": "docker",
"depNameTemplate": "selenium/standalone-{{browserTag}}",
"versioningTemplate": "regex:^3\\.141\\.59-(?<patch>\\d+)$"
}, {
"fileMatch": ["^\\.flowconfig$"],
"matchStrings": ["\\[version\\]\\s*(?<currentValue>.*?)\\s"],
"datasourceTemplate": "npm",
"depNameTemplate": "flow-bin"
}, {
"fileMatch": ["^\\.yarn/sdks/[^/]+/package\\.json$"],
"matchStrings": ["\"name\": \"(?<depName>.*?)\",\\s*\"version\": \"(?<currentValue>.*?)-pnpify\""],
"datasourceTemplate": "npm"
}
],
"stabilityDays": 3,
"rangeStrategy": "update-lockfile",
"commitBody": "[skip netlify]",
"postUpdateOptions": ["yarnDedupeHighest"]
"commitMessageSuffix": "[skip netlify]",
"postUpdateOptions": ["yarnDedupeHighest"],
"packageRules": [{
"paths": ["website/**"],
"commitMessageSuffix": ""
}]
}