Skip to content

Add links names patterns #2136

Add links names patterns

Add links names patterns #2136

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
branches:
- "*"
push:
branches:
- "main"
- "hotfix-*"
jobs:
check-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: yarn install & check-cache
run: |
yarn install --immutable --immutable-cache --check-cache
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: yarn install
run: |
yarn install --immutable --immutable-cache
# required to have types info, otherwise eslint will complain about any type
- name: yarn compile
run: |
yarn compile
- name: yarn lint
run: |
yarn lint
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: yarn install
run: |
yarn install --immutable --immutable-cache
- name: yarn prettier
run: |
yarn prettier:check
build:
name: "Build"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18, 20]
steps:
- uses: actions/checkout@v4
- 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@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: yarn install
run: |
yarn install --immutable --immutable-cache
- run: yarn workspace allure-playwright playwright install chromium --with-deps
- name: yarn build
run: |
yarn run build
- name: yarn test
run: |
yarn run test