diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 401a080..c6f2bc2 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -247,52 +247,9 @@ jobs: # Removed dependency caching to reduce cache-poisoning risk - playwright-tests: - needs: [check-if-merged, debug-check] - if: needs.check-if-merged.outputs.should_run == 'true' - timeout-minutes: 60 - runs-on: blacksmith-4vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label) - steps: - - uses: actions/checkout@v6 # zizmor: ignore[unpinned-uses] - with: - persist-credentials: false - token: ${{ secrets.ACTIONS_KEY }} - - - uses: pnpm/action-setup@v4 # zizmor: ignore[unpinned-uses] - with: - version: 10 - - - uses: actions/setup-node@v6 # zizmor: ignore[unpinned-uses] - with: - node-version: 24 - - - name: Install dependencies - run: pnpm install --prefer-offline --frozen-lockfile --ignore-scripts - - - name: Install Playwright Browsers - run: pnpm exec playwright install --with-deps - - - name: Run Playwright tests - run: pnpm run test:e2e - - - name: Upload Playwright Results - if: always() - uses: trunk-io/analytics-uploader@main # zizmor: ignore[unpinned-uses] - with: - junit-paths: test-results/junit-playwright.xml - org-slug: ${{ secrets.TRUNK_ORG_SLUG }} - token: ${{ secrets.TRUNK_TOKEN }} - - - uses: actions/upload-artifact@v4 # zizmor: ignore[unpinned-uses] - if: always() - with: - name: playwright-results - path: test-results/ - retention-days: 10 - # 4. Coverage reporting (depends on tests) coverage-report: - needs: [check-if-merged, build, playwright-tests] + needs: [check-if-merged, build] if: needs.check-if-merged.outputs.should_run == 'true' runs-on: blacksmith-2vcpu-ubuntu-2404 # trunk-ignore(actionlint/runner-label) steps: @@ -304,7 +261,7 @@ jobs: # 5. Publishing job (main deployment logic) publish-github-packages: - needs: [check-if-merged, build, playwright-tests, coverage-report] + needs: [check-if-merged, build, coverage-report] if: needs.check-if-merged.outputs.should_run == 'true' runs-on: ubuntu-latest permissions: