chore(deps): bump fast-xml-parser from 5.5.3 to 5.5.6 #738
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Playwright VS Code Ext E2E Tests | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches-ignore: [main, develop] | |
| paths-ignore: | |
| - '.claude/**' | |
| - '.cursor/**' | |
| - 'contributing/**' | |
| - 'CONTRIBUTING.md' | |
| - 'docs/**' | |
| - '**/README*' | |
| - 'SECURITY*' | |
| - 'CODE_OF_CONDUCT*' | |
| - 'CHANGELOG*' | |
| - '**/CHANGELOG*' | |
| concurrency: | |
| group: ci-${{ github.ref }}-playwrightVscodeExtE2E | |
| cancel-in-progress: true | |
| jobs: | |
| e2e-web: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - uses: google/wireit@setup-github-actions-caching/v2 | |
| - name: Install dependencies | |
| uses: salesforcecli/github-workflows/.github/actions/npmInstallWithRetries@main | |
| # Try E2E tests first. When wireit cache hits, it skips the command and exits 0—we never need Playwright. | |
| # When cache misses, tests fail on missing chromium. E2E_NO_RETRIES=1 disables Playwright retries in config | |
| # so failures are fast (env var doesn't affect wireit cache key since it's not part of the npm command). | |
| - name: Try E2E tests | |
| id: try-run | |
| continue-on-error: true | |
| timeout-minutes: 5 | |
| env: | |
| CI: 1 | |
| E2E_NO_RETRIES: 1 | |
| run: | | |
| npm run test:web -w @salesforce/playwright-vscode-ext | |
| - name: Run Playwright web tests (parallel) | |
| if: steps.try-run.outcome == 'failure' | |
| id: parallel-run | |
| continue-on-error: true | |
| env: | |
| CI: 1 | |
| run: | | |
| npm run test:web -w @salesforce/playwright-vscode-ext | |
| - name: Retry failed tests (sequential) | |
| if: steps.try-run.outcome == 'failure' && steps.parallel-run.outcome == 'failure' | |
| env: | |
| CI: 1 | |
| E2E_SEQUENTIAL: 1 | |
| run: | | |
| npm run test:web -w @salesforce/playwright-vscode-ext -- --last-failed | |
| - name: Upload Playwright HTML report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report-web | |
| path: packages/playwright-vscode-ext/playwright-report | |
| if-no-files-found: ignore | |
| - name: Upload Playwright test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-test-results-web | |
| path: packages/playwright-vscode-ext/test-results | |
| if-no-files-found: ignore | |
| e2e-desktop: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 60 | |
| env: | |
| PLAYWRIGHT_DESKTOP_VSCODE_VERSION: ${{ vars.PLAYWRIGHT_DESKTOP_VSCODE_VERSION }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest, windows-latest] | |
| fail-fast: false | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - uses: google/wireit@setup-github-actions-caching/v2 | |
| - name: Install dependencies | |
| uses: salesforcecli/github-workflows/.github/actions/npmInstallWithRetries@main | |
| # Try E2E tests first. When wireit cache hits, it skips the command and exits 0—we never need Playwright. | |
| # When cache misses, tests fail on missing chromium. E2E_NO_RETRIES=1 disables Playwright retries in config | |
| # so failures are fast (env var doesn't affect wireit cache key since it's not part of the npm command). | |
| - name: Try E2E tests | |
| id: try-run | |
| continue-on-error: true | |
| timeout-minutes: 5 | |
| env: | |
| CI: 1 | |
| VSCODE_DESKTOP: 1 | |
| E2E_NO_RETRIES: 1 | |
| run: | | |
| npm run test:desktop -w @salesforce/playwright-vscode-ext | |
| # Only run expensive setup when try-run failed (cache miss). On cache hit we never reach these steps. | |
| - name: Install Playwright browsers and OS deps | |
| if: steps.try-run.outcome == 'failure' | |
| run: npx playwright install chromium --with-deps | |
| - name: Run Playwright desktop tests (parallel) | |
| if: steps.try-run.outcome == 'failure' | |
| id: parallel-run | |
| continue-on-error: true | |
| env: | |
| CI: 1 | |
| VSCODE_DESKTOP: 1 | |
| run: | | |
| npm run test:desktop -w @salesforce/playwright-vscode-ext | |
| - name: Retry failed tests (sequential) | |
| if: steps.try-run.outcome == 'failure' && steps.parallel-run.outcome == 'failure' | |
| env: | |
| CI: 1 | |
| VSCODE_DESKTOP: 1 | |
| E2E_SEQUENTIAL: 1 | |
| run: | | |
| npm run test:desktop -w @salesforce/playwright-vscode-ext -- --last-failed | |
| - name: Upload Playwright HTML report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report-desktop-${{ matrix.os }} | |
| path: packages/playwright-vscode-ext/playwright-report | |
| if-no-files-found: ignore | |
| - name: Upload Playwright test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-test-results-desktop-${{ matrix.os }} | |
| path: packages/playwright-vscode-ext/test-results | |
| if-no-files-found: ignore |