Replace X icon with button in audience creation notice. #17044
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: Visual Regression Testing | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| - 'feature/**' | |
| # Only run if CSS/JS related files changed. | |
| paths: | |
| - '.github/workflows/visual-regression.yml' | |
| - 'assets/**' | |
| - '!assets/**/__tests__/**/*.js' | |
| - '!assets/**/test/*.js' | |
| - '!assets/**/*.test.js' | |
| - '**.stories.js' | |
| - 'tests/backstop/**' | |
| - 'storybook/**' | |
| - '**.scss' | |
| - '.nvmrc' | |
| - '**/package.json' | |
| - 'package-lock.json' | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| concurrency: | |
| group: visual-regression-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| visual-regression: | |
| name: Run VR Tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| if: github.event.pull_request.draft == false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js (.nvmrc) | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: npm install | |
| run: npm i -w assets -w tests/backstop -w storybook -w tests/js --include-workspace-root | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: google-site-kit-bot | |
| password: ${{ secrets.GH_BOT_TOKEN }} | |
| - name: Run Backstopjs | |
| run: npm run test:visualtest | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: vrt-report | |
| path: | | |
| tests/backstop/ci_report | |
| tests/backstop/html_report | |
| tests/backstop/json_report | |
| tests/backstop/reference | |
| tests/backstop/tests |