Skip to content

[ErrorPage]: Added field to provide support link #10489

[ErrorPage]: Added field to provide support link

[ErrorPage]: Added field to provide support link #10489

Workflow file for this run

name: build_and_test
# Controls when the action will run.
on:
push:
branches:
- '**'
- '!main'
- '!develop'
pull_request:
branches:
- '**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
build-and-test:
# Need to run this job on "pull_request" event only from forks.
# Reason: Because no guarantee that it's run on "push" event in fork: such workflow maybe misconfigured or even disabled in forks.
# No need to run this job on "pull_request" from main UUI repo, because it's guaranteed it's already run on "push" event.
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != 'epam/UUI' || github.event_name == 'push'
runs-on: ubuntu-latest
container: node:18
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
cache-dependency-path: |
**/yarn.lock
- name: build
run: |
yarn
yarn generate-components-api
yarn build
cd server && yarn
- name: test
run: yarn test-ci
- name: eslint
run: yarn eslint
- name: stylelint
run: yarn stylelint