mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 17:30:01 +02:00
feat(ci): enhance CI pipeline with artifact upload and download steps
This commit is contained in:
parent
1464de3300
commit
a9c17d1a7f
2 changed files with 13 additions and 1 deletions
13
.github/workflows/ci-pipeline.yml
vendored
13
.github/workflows/ci-pipeline.yml
vendored
|
@ -85,6 +85,13 @@ jobs:
|
||||||
- name: Run Build
|
- name: Run Build
|
||||||
run: bunx turbo run build
|
run: bunx turbo run build
|
||||||
|
|
||||||
|
- name: Upload Build Artifacts
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-dist
|
||||||
|
path: dist/
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
playwright:
|
playwright:
|
||||||
name: Playwright Tests
|
name: Playwright Tests
|
||||||
needs: [check_changes, build]
|
needs: [check_changes, build]
|
||||||
|
@ -95,6 +102,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Download Build Artifacts
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: build-dist
|
||||||
|
path: dist/
|
||||||
|
|
||||||
- name: Setup Bun with Cache
|
- name: Setup Bun with Cache
|
||||||
uses: ./.github/actions/setup-bun-with-cache
|
uses: ./.github/actions/setup-bun-with-cache
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -33,7 +33,6 @@
|
||||||
},
|
},
|
||||||
"test:playwright": {
|
"test:playwright": {
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"dependsOn": ["build"],
|
|
||||||
"inputs": ["**/*.{ts,tsx,js,jsx,astro}"],
|
"inputs": ["**/*.{ts,tsx,js,jsx,astro}"],
|
||||||
"outputs": ["playwright-report/**", "test-results/**"]
|
"outputs": ["playwright-report/**", "test-results/**"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue