sdds-serv: add TextArea component #2531
Workflow file for this run
This file contains 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: Required primary checks | |
on: | |
merge_group: | |
pull_request: | |
branches: | |
- dev | |
- master | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
LERNA_IGNORE_LIST: "@salutejs/plasma-{cy-utils,sb-utils}" | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Prepare environment | |
uses: ./.github/actions/prepare-environment | |
- name: Lerna bootstrap | |
run: npx lerna bootstrap | |
- name: Lint | |
run: npm run lint | |
tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Prepare environment | |
uses: ./.github/actions/prepare-environment | |
- name: Lerna bootstrap | |
run: npx lerna bootstrap --ignore=${{env.LERNA_IGNORE_LIST}} | |
- name: Unit tests | |
run: npm run test | |
- name: Setup React 17 | |
run: | | |
npm i --no-progress --no-audit react@17 react-dom@17 @types/[email protected] @types/react-dom@17 --prefix="./packages/plasma-ui" | |
npm i --no-progress --no-audit react@17 react-dom@17 @types/[email protected] @types/react-dom@17 --prefix="./packages/plasma-b2c" | |
npm i --no-progress --no-audit react@17 react-dom@17 @types/[email protected] @types/react-dom@17 --prefix="./packages/plasma-web" | |
- name: Lerna bootstrap by scope | |
run: npx lerna bootstrap --scope=@salutejs/plasma-{ui,web,b2c,hope,new-hope,core,icons} | |
- name: Unit tests for React 17 | |
run: npm run test -- --scope=@salutejs/plasma-{ui,web,b2c} |