test: update visual tests to use fixed browser window height #7710
This file contains 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: Verify | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Lint JavaScript | |
run: yarn lint:js | |
- name: Lint CSS | |
run: yarn lint:css | |
- name: Lint TypeScript | |
run: yarn lint:types | |
snapshots: | |
name: Snapshot tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Test | |
run: yarn test:snapshots | |
integration: | |
name: Integration tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn --frozen-lockfile --no-progress --non-interactive | |
- name: Test | |
run: yarn test:it |