Skip to content

change hermione skipped tests logic (fixes #788, via #789) #1581

change hermione skipped tests logic (fixes #788, via #789)

change hermione skipped tests logic (fixes #788, via #789) #1581

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
branches:
- "*"
push:
branches:
- "master"
- "hotfix-*"
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/[email protected]
- uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
id: setup-chrome
- run: |
echo Installed chromium version: ${{ steps.setup-chrome.outputs.chrome-version }}
${{ steps.setup-chrome.outputs.chrome-path }} --version
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: yarn install
run: |
yarn install --immutable --immutable-cache --check-cache
- run: yarn workspace allure-playwright playwright install chromium --with-deps
- name: yarn build
run: |
yarn run build
- name: yarn test node@14
if: ${{ matrix.node-version == '14.x' }}
run: |
yarn run test:node-14
- name: yarn test node@16 and above
if: ${{ matrix.node-version != '14.x' }}
run: |
yarn run test