mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
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:
9
.github/dependabot.yml
vendored
9
.github/dependabot.yml
vendored
@@ -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"
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -75,7 +75,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const SELENIUM_BROWSERS = ["chrome", "firefox"];
|
const SELENIUM_BROWSERS = ["chrome:3.141.59-20200525", "firefox:3.141.59-20200525"];
|
||||||
const BROWSERSTACK_BROWSERS = [{
|
const BROWSERSTACK_BROWSERS = [{
|
||||||
browserName: "safari",
|
browserName: "safari",
|
||||||
browser_version: "13.1",
|
browser_version: "13.1",
|
||||||
@@ -87,10 +87,10 @@ jobs:
|
|||||||
|
|
||||||
// running selenium doesn't require access to secrets
|
// running selenium doesn't require access to secrets
|
||||||
if (context.eventName !== "pull_request_target") {
|
if (context.eventName !== "pull_request_target") {
|
||||||
include.push(...SELENIUM_BROWSERS.map(name => ({
|
include.push(...SELENIUM_BROWSERS.map(browserTag => ({
|
||||||
browser: name,
|
browser: browserTag.split(':')[0],
|
||||||
services: {selenium: {
|
services: {selenium: {
|
||||||
image: `selenium/standalone-${name}:3.141.59-20200525`,
|
image: `selenium/standalone-${browserTag}`,
|
||||||
ports: ["4444:4444"],
|
ports: ["4444:4444"],
|
||||||
}},
|
}},
|
||||||
})));
|
})));
|
||||||
|
@@ -17,7 +17,7 @@ cleanup() {
|
|||||||
container=
|
container=
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
status=0
|
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%:*}
|
browser=${browserTag%:*}
|
||||||
image=selenium/standalone-${browserTag}
|
image=selenium/standalone-${browserTag}
|
||||||
echo "Starting container for ${image}"
|
echo "Starting container for ${image}"
|
||||||
|
@@ -7,8 +7,7 @@
|
|||||||
"group:linters"
|
"group:linters"
|
||||||
],
|
],
|
||||||
"git-submodules": {
|
"git-submodules": {
|
||||||
"enabled": true,
|
"enabled": true
|
||||||
"automerge": false
|
|
||||||
},
|
},
|
||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
@@ -16,13 +15,40 @@
|
|||||||
"stabilityDays": 0,
|
"stabilityDays": 0,
|
||||||
"dependencyDashboardApproval": true
|
"dependencyDashboardApproval": true
|
||||||
},
|
},
|
||||||
"includePaths": [
|
"ignorePaths": ["dockers/texcmp/"],
|
||||||
"package.json",
|
"regexManagers": [
|
||||||
"website/package.json",
|
{
|
||||||
".gitmodules"
|
"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,
|
"stabilityDays": 3,
|
||||||
"rangeStrategy": "update-lockfile",
|
"rangeStrategy": "update-lockfile",
|
||||||
"commitBody": "[skip netlify]",
|
"commitMessageSuffix": "[skip netlify]",
|
||||||
"postUpdateOptions": ["yarnDedupeHighest"]
|
"postUpdateOptions": ["yarnDedupeHighest"],
|
||||||
|
"packageRules": [{
|
||||||
|
"paths": ["website/**"],
|
||||||
|
"commitMessageSuffix": ""
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user