fix(allure-jest): remove ANSI color codes message & trace (via #798) #1578
Workflow file for this run
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: 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 |