chore(deps): update dependency eslint to v9.16.0 (#287) #772
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: Regression | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
linux_os: | |
name: ${{ matrix.os }} (${{ matrix.browser }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04] | |
browser: [chrome, firefox] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout ${{ github.repository }} repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Install Google Chrome | |
if: matrix.browser == 'chrome' | |
run: | | |
curl -L https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o ./chrome.deb | |
sudo dpkg -i ./chrome.deb | |
rm -rf ./chrome.deb | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run TestCafe tests | |
run: npx testcafe ${{ matrix.browser }}:headless tests/ | |
mac_os: | |
name: ${{ matrix.os }} (${{ matrix.browser }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-13] | |
browser: [chrome, firefox] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout ${{ github.repository }} repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: | | |
yarn install --frozen-lockfile | |
yarn global add testcafe | |
- name: Run TestCafe tests | |
run: npx testcafe ${{ matrix.browser }}:headless tests/ --disable-screenshots --video "" --video-options "" | |
windows_os: | |
name: ${{ matrix.os }} (${{ matrix.browser }}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2022] | |
browser: [chrome, firefox] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout ${{ github.repository }} repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run TestCafe tests | |
run: npx testcafe ${{ matrix.browser }}:headless tests/ | |
shell: bash |