mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
fix(renovate): optimize configuration and update package rules (#683)
* fix(renovate): optimize configuration and update package rules * chore(ci): update pnpm version to latest in CI pipeline configuration * chore(ci): remove version specification for pnpm in CI pipeline configuration
This commit is contained in:
parent
c65294b834
commit
58af542675
3 changed files with 5 additions and 12 deletions
3
.github/workflows/ci-pipeline.yml
vendored
3
.github/workflows/ci-pipeline.yml
vendored
|
@ -58,7 +58,6 @@ jobs:
|
||||||
if: steps.check-node-modules-cache.outputs.cache-hit != 'true'
|
if: steps.check-node-modules-cache.outputs.cache-hit != 'true'
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10.11.0
|
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -119,7 +118,6 @@ jobs:
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10.11.0
|
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Run ${{ matrix.name }}
|
- name: Run ${{ matrix.name }}
|
||||||
|
@ -159,7 +157,6 @@ jobs:
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 10.11.0
|
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Cache Playwright Browsers
|
- name: Cache Playwright Browsers
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"engines": {
|
"engines": {
|
||||||
"pnpm": "^10.0.0"
|
"pnpm": "^10.0.0"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.11.0",
|
"packageManager": "pnpm@10.12.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev --port 3000",
|
"dev": "astro dev --port 3000",
|
||||||
"start": "astro preview --port 3000",
|
"start": "astro preview --port 3000",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["config:js-app"],
|
"extends": ["config:recommended", "config:js-app"],
|
||||||
"labels": ["dependencies", "renovate"],
|
"labels": ["dependencies", "renovate"],
|
||||||
"prConcurrentLimit": 10,
|
"prConcurrentLimit": 10,
|
||||||
"prHourlyLimit": 2,
|
"prHourlyLimit": 2,
|
||||||
|
@ -9,8 +9,7 @@
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Group minor and patch-level updates",
|
"description": "Group minor and patch-level updates",
|
||||||
"matchUpdateTypes": ["minor", "patch", "digest"],
|
"matchUpdateTypes": ["minor", "patch", "digest"]
|
||||||
"automergeType": "branch"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group Astro related packages",
|
"description": "Group Astro related packages",
|
||||||
|
@ -62,8 +61,7 @@
|
||||||
{
|
{
|
||||||
"description": "Group type definitions",
|
"description": "Group type definitions",
|
||||||
"groupName": "type-definitions",
|
"groupName": "type-definitions",
|
||||||
"matchPackageNames": ["@types*"],
|
"matchPackageNames": ["@types*", "!@types/react*"]
|
||||||
"excludePackageNames": ["@types/react*"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group devDependencies",
|
"description": "Group devDependencies",
|
||||||
|
@ -76,8 +74,6 @@
|
||||||
"labels": ["dependencies", "major-update"]
|
"labels": ["dependencies", "major-update"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": { "labels": ["security", "dependencies"] },
|
||||||
"labels": ["security", "dependencies"]
|
|
||||||
},
|
|
||||||
"osvVulnerabilityAlerts": true
|
"osvVulnerabilityAlerts": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue