AB#112755 - Overlap text fix while exporting dashboards #1039
This file contains hidden or 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: CI | |
on: | |
push: | |
branches: | |
- main | |
- next | |
- beta | |
- alpha | |
pull_request: | |
branches: | |
- main | |
- next | |
- beta | |
- alpha | |
- '[0-9]*.[0-9x]*.x' | |
workflow_dispatch: | |
inputs: | |
project: | |
type: choice | |
description: Select project ( leave blank to run on all projects ) | |
options: | |
- front-office | |
- back-office | |
- ui | |
- shared | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Get package version | |
id: get_version | |
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT | |
- name: Cache node modules | |
uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.OS }}-build-${{ env.cache-name }}- | |
${{ runner.OS }}-build- | |
${{ runner.OS }}- | |
- name: Install Dependencies | |
run: npm i | |
- name: Run ${{ github.event.inputs.project }} tests - ${{ steps.get_version.outputs.version }} | |
run: npx nx run ${{ github.event.inputs.project }}:test:ci --skip-nx-cache | |
if: ${{ github.event.inputs.project != '' }} | |
- name: Run all tests - ${{ steps.get_version.outputs.version }} | |
run: npm run test -- --skip-nx-cache | |
if: ${{ github.event.inputs.project == '' }} |