Remove Push Notification options from Web UI #4884
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: Percy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| pull_request: | |
| jobs: | |
| run-pixel-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - mode: normal | |
| suffix: '' | |
| token: PERCY_TOKEN_OTP2 | |
| - mode: calltaker | |
| suffix: '-call-taker' | |
| token: PERCY_TOKEN_CALL_TAKER_OTP2 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| # This allows us to work with the repository during the lint step | |
| fetch-depth: 2 | |
| - name: Use Node.js 22.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 22.x | |
| - name: Install npm packages using cache | |
| uses: bahmutov/npm-install@v1 | |
| - name: Build OTP-RR | |
| run: yarn build | |
| env: | |
| YAML_CONFIG: ./percy/har-mock-config${{ matrix.suffix }}.yml | |
| JS_CONFIG: ./percy/har-mock-config${{ matrix.suffix }}.js | |
| - name: Take Percy Snapshots | |
| run: npx percy exec -- npx jest percy/percy.test.js --force-exit | |
| env: | |
| PERCY_TOKEN: ${{ secrets[matrix.token] }} | |
| OTP_RR_UI_MODE: ${{ matrix.mode }} |