Skip to content

AB#112754 - All languages special characters fixed for export #1042

AB#112754 - All languages special characters fixed for export

AB#112754 - All languages special characters fixed for export #1042

Workflow file for this run

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 == '' }}