chore: use override for rolldown CI (#9111)

This commit is contained in:
Hiroshi Ogawa 2025-11-27 16:41:29 +09:00 committed by GitHub
parent e4ca917f18
commit 25d169fe8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 18 deletions

View File

@ -222,7 +222,9 @@ jobs:
- uses: browser-actions/setup-chrome@b94431e051d1c52dcbe9a7092a4f10f827795416 # v2.1.0 - uses: browser-actions/setup-chrome@b94431e051d1c52dcbe9a7092a4f10f827795416 # v2.1.0
- name: Install - name: Install
run: pnpm add vite@npm:rolldown-vite && git add . && git commit -m "ci" && pnpm i --prefer-offline --no-frozen-lockfile run: |
yq -i '.overrides.vite = "npm:rolldown-vite"' pnpm-workspace.yaml
git add . && git commit -m "ci" && pnpm i --prefer-offline --no-frozen-lockfile
- uses: ./.github/actions/setup-playwright - uses: ./.github/actions/setup-playwright

View File

@ -70,18 +70,6 @@
"zx": "^8.8.5" "zx": "^8.8.5"
}, },
"pnpm": { "pnpm": {
"overrides": {
"@vitest/browser": "workspace:*",
"@vitest/browser-playwright": "workspace:*",
"@vitest/browser-preview": "workspace:*",
"@vitest/browser-webdriverio": "workspace:*",
"@vitest/ui": "workspace:*",
"acorn": "8.11.3",
"mlly": "^1.8.0",
"rollup": "$rollup",
"vite": "$vite",
"vitest": "workspace:*"
},
"peerDependencyRules": { "peerDependencyRules": {
"ignoreMissing": [ "ignoreMissing": [
"@algolia/client-search" "@algolia/client-search"

View File

@ -5,6 +5,22 @@ packages:
- test/* - test/*
- test/config/fixtures/conditions-pkg - test/config/fixtures/conditions-pkg
trustPolicy: no-downgrade
trustPolicyExclude:
- semver@6.3.1
- chokidar@4.0.3
overrides:
'@vitest/browser': 'workspace:*'
'@vitest/browser-playwright': 'workspace:*'
'@vitest/browser-preview': 'workspace:*'
'@vitest/browser-webdriverio': 'workspace:*'
'@vitest/ui': 'workspace:*'
acorn: 8.11.3
mlly: ^1.8.0
rollup: $rollup
vite: $vite
vitest: 'workspace:*'
catalog: catalog:
'@iconify-json/carbon': ^1.2.14 '@iconify-json/carbon': ^1.2.14
'@iconify-json/logos': ^1.2.10 '@iconify-json/logos': ^1.2.10
@ -43,8 +59,3 @@ catalog:
unplugin-vue-components: ^0.28.0 unplugin-vue-components: ^0.28.0
vue: ^3.5.25 vue: ^3.5.25
ws: ^8.18.3 ws: ^8.18.3
trustPolicy: no-downgrade
trustPolicyExclude:
- semver@6.3.1
- chokidar@4.0.3