diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 7a90d26..646560c 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -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: diff --git a/turbo.json b/turbo.json index 9e0fa56..fb24151 100644 --- a/turbo.json +++ b/turbo.json @@ -33,7 +33,6 @@ }, "test:playwright": { "cache": true, - "dependsOn": ["build"], "inputs": ["**/*.{ts,tsx,js,jsx,astro}"], "outputs": ["playwright-report/**", "test-results/**"] }