mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28: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:
|
||||
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"],
|
||||
}},
|
||||
})));
|
||||
|
@@ -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}"
|
||||
|
@@ -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": ""
|
||||
}]
|
||||
}
|
||||
|
Reference in New Issue
Block a user