feat(manager-react-components): build manager react components lib #32790
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: Run Jest tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout latest code | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Restore/create node_modules cache | |
uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} | |
- name: Install repository | |
run: yarn install --frozen-lockfile | |
- name: Build BDD covered packages and dependencies | |
run: | | |
yarn exec turbo -- run build --filter="./packages/manager/core/*" --concurrency=5 | |
yarn exec turbo -- run build --filter="./packages/manager/manager-components/*" --concurrency=5 | |
yarn exec turbo -- run build --filter="./packages/manager/modules/order" --concurrency=5 | |
# This task is for running the jest tests outside microApps | |
- name: Run tests Jest | |
run: yarn test:jest | |
- name: Run tests Turbo | |
run: yarn test:turbo | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run e2e tests | |
run: yarn test:playwright:run |