Skip to content

Feat: Mono-repo setup added for i18nify and i18nify plugins #7

Feat: Mono-repo setup added for i18nify and i18nify plugins

Feat: Mono-repo setup added for i18nify and i18nify plugins #7

name: (i18nify-react) Build & Validate
on:
pull_request:
jobs:
validate:
name: Validate Source code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 20.3.1
- name: Install dependencies
run: yarn install
- name: Install root dependencies
run: yarn install --frozen-lockfile
- name: run eslint
working-directory: packages/i18nify-react
run: yarn lint
- name: run tsc
working-directory: packages/i18nify-react
run: yarn tsc
build:
name: Run Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: 20.3.1
- name: Install dependencies
run: yarn
- name: run build
run: yarn build
working-directory: packages/i18nify-react