Skip to content

✨ feat: shareable segment #1252

✨ feat: shareable segment

✨ feat: shareable segment #1252

name: FeatBit UI change validations
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'modules/front-end/**'
- '.github/workflows/ui-change-validations.yml'
pull_request:
branches:
- main
paths:
- 'modules/front-end/**'
- '.github/workflows/ui-change-validations.yml'
jobs:
build:
name : UI Change Validations
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: "modules/front-end/package-lock.json"
- name: npm build & i18n validations & build
run: |
cd 'modules/front-end'
npm ci
npm run i18n
chmod +x ./change_validations.sh
./change_validations.sh
npm run build --if-present
shell: bash