mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
chore(turbo): add build dependency to e2e test tasks in turbo.json for improved execution order
This commit is contained in:
parent
88805655d4
commit
2123d28504
2 changed files with 5 additions and 13 deletions
13
.github/workflows/ci-pipeline.yml
vendored
13
.github/workflows/ci-pipeline.yml
vendored
|
@ -171,13 +171,6 @@ jobs:
|
|||
- name: Build project
|
||||
run: pnpm exec turbo run build
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
retention-days: 1
|
||||
|
||||
playwright:
|
||||
name: Playwright Tests
|
||||
needs: [check_changes, setup, build]
|
||||
|
@ -186,12 +179,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
|
||||
- name: Restore Turborepo Cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
|
@ -33,26 +33,31 @@
|
|||
},
|
||||
"test:e2e": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard1": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard2": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard3": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
"test:e2e:shard4": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["src/**/*"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue