mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +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
|
||||
run: bunx turbo run build
|
||||
|
||||
- name: Upload Build Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-dist
|
||||
path: dist/
|
||||
retention-days: 1
|
||||
|
||||
playwright:
|
||||
name: Playwright Tests
|
||||
needs: [check_changes, build]
|
||||
|
@ -95,6 +102,12 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Download Build Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: build-dist
|
||||
path: dist/
|
||||
|
||||
- name: Setup Bun with Cache
|
||||
uses: ./.github/actions/setup-bun-with-cache
|
||||
with:
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
},
|
||||
"test:playwright": {
|
||||
"cache": true,
|
||||
"dependsOn": ["build"],
|
||||
"inputs": ["**/*.{ts,tsx,js,jsx,astro}"],
|
||||
"outputs": ["playwright-report/**", "test-results/**"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue