fix: remove internal compound operations completely #4734
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: Browser tests | |
| on: | |
| # Build on pushes branches that have a PR (including drafts) | |
| pull_request: | |
| # Build on commits pushed to branches without a PR if it's in the allowlist | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| timeout-minutes: 60 | |
| name: Browser tests (${{ matrix.browser }}) | |
| runs-on: ${{ matrix.os }} | |
| continue-on-error: ${{ matrix.experimental }} | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| strategy: | |
| # we want to know if a test fails on a specific node version | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| browser: [chromium, firefox, webkit] | |
| node: [lts/*] | |
| experimental: [false] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: pnpm | |
| node-version: ${{ matrix.node }} | |
| - name: Install project dependencies | |
| run: pnpm install | |
| - name: Store Playwright's Version | |
| id: playwright-version | |
| run: | | |
| PLAYWRIGHT_VERSION=$(npx playwright --version | sed 's/Version //') | |
| echo "Playwright's Version: $PLAYWRIGHT_VERSION" | |
| echo "version=${PLAYWRIGHT_VERSION}" >> "$GITHUB_OUTPUT" | |
| - name: Cache Playwright Browsers for Playwright's Version | |
| id: cache-playwright-browsers | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: ${{ steps.playwright-version.outputs.version }}-playwright-browsers | |
| - name: Install Playwright Browsers | |
| # TODO: Fix webkit caching when downloading from cache | |
| # for some reason it doesn't work without installing again | |
| if: steps.cache-playwright-browsers.outputs.cache-hit != 'true' || matrix.browser == 'webkit' | |
| run: npx playwright install --with-deps | |
| - name: Test | |
| id: test | |
| run: | | |
| node -v | |
| pnpm -v | |
| pnpm test:browser:${{ matrix.browser }} |