mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
chore(turbo): unify input patterns in turbo.json for consistency across tasks
This commit is contained in:
parent
2405477510
commit
cc033a3f04
2 changed files with 10 additions and 9 deletions
3
.github/workflows/ci-pipeline.yml
vendored
3
.github/workflows/ci-pipeline.yml
vendored
|
@ -185,6 +185,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.53.1-jammy
|
||||
env:
|
||||
CI: true
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
@ -231,7 +233,6 @@ jobs:
|
|||
- name: Run Playwright Tests (4 Shards)
|
||||
run: pnpm exec turbo run test:e2e:all
|
||||
timeout-minutes: 10
|
||||
|
||||
- name: Upload Playwright Report
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
|
|
16
turbo.json
16
turbo.json
|
@ -18,12 +18,12 @@
|
|||
},
|
||||
"build": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro,json}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["dist/**"]
|
||||
},
|
||||
"test": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": []
|
||||
},
|
||||
"spell": {
|
||||
|
@ -33,33 +33,33 @@
|
|||
},
|
||||
"test:e2e": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard1": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard2": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard3": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard4": {
|
||||
"cache": true,
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:all": {
|
||||
"cache": true,
|
||||
"dependsOn": ["test:e2e:shard1", "test:e2e:shard2", "test:e2e:shard3", "test:e2e:shard4"],
|
||||
"inputs": ["src/**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue