chore(turbo): unify input patterns in turbo.json for consistency across tasks

This commit is contained in:
taroj1205 2025-06-22 19:32:09 +12:00
parent 2405477510
commit cc033a3f04
No known key found for this signature in database
GPG key ID: 0FCB6CFFE0981AB7
2 changed files with 10 additions and 9 deletions

View file

@ -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()

View file

@ -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/**"]
}
},