Skip to content

[minor] fix focus getting trapped on banner #BUX-2863 #117

[minor] fix focus getting trapped on banner #BUX-2863

[minor] fix focus getting trapped on banner #BUX-2863 #117

Workflow file for this run

name: Gate Keeping
on:
pull_request:
types: [opened,reopened,edited,synchronize]
branches:
- main
- production
paths-ignore:
- docs/**
- README.md
env:
BRANCH_NAME: '${{ github.event.inputs.branch_name || github.head_ref || github.ref_name }}'
NODE_VERSION: 16
JAVA_VERSION: 11
JAVA_DISTRIBUTION: 'adopt'
jobs:
test-unit:
name: Unit tests
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v3
- name: Install Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test
test-lint:
name: Lint
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v3
- name: Install Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Lint tests
run: npm run lint
test-build:
name: Test-build
needs: [test-unit,test-lint]
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v3
- name: Install Node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
- name: Install dependencies
run: npm install
- name: Call the Build bash script for QA
run: bash ${GITHUB_WORKSPACE}/deployment/build-test.sh