build(deps-dev): bump esbuild from 0.21.5 to 0.28.0 in /packages/editor #1264
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: PR Visual Tests | |
| on: | |
| pull_request: | |
| jobs: | |
| visual_tests: | |
| name: Visual Tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: mcr.microsoft.com/playwright:v1.52.0-jammy | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v5 | |
| - name: Setup Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm run ci:deps | |
| - name: Run Visual Tests | |
| run: pnpm run ci:test:visual | |
| env: | |
| CI: 'true' | |
| - name: Upload Playwright Report | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: ./demo/playwright-report | |
| retention-days: 1 | |
| - name: Save PR ID | |
| if: always() | |
| run: | | |
| pr="${{ github.event.pull_request.number }}" | |
| echo $pr > ./pr-id.txt | |
| shell: bash | |
| - name: Create PR Artifact | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: pr | |
| path: ./pr-id.txt |