Improve descriptions for layout and structure components #16215
This file contains hidden or 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: CI | |
| on: [push] | |
| jobs: | |
| type-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/actions/prepare | |
| - id: typescript-cache | |
| name: Restore TypeScript cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| packages/*/build/ts | |
| packages/*/build/*.tsbuildinfo | |
| key: ${{ runner.os }}-typescript-v1-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-typescript-v1- | |
| - name: Type check | |
| run: yarn type-check | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/actions/prepare | |
| - id: eslint-cache | |
| name: Restore ESLint cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: .loom/cache/eslint | |
| key: ${{ runner.os }}-eslint-v1-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-eslint-v1- | |
| - name: Lint | |
| run: yarn lint | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/actions/prepare | |
| - name: Build packages | |
| run: yarn build | |
| - name: Typecheck ui-extensions-tester (including tests) | |
| run: npx tsc --project packages/ui-extensions-tester/tsconfig.typecheck.json | |
| - name: Test ui-extensions-tester | |
| run: npx loom test --no-watch packages/ui-extensions-tester/ | |
| - name: Testing example (checkout) | |
| run: npm install && npm run typecheck && npm test | |
| working-directory: examples/testing/checkout-basic-testing-example | |
| - name: Testing example (point-of-sale) | |
| run: npm install && npm run typecheck && npm test | |
| working-directory: examples/testing/point-of-sale-testing-example | |
| - name: Testing example (customer-account) | |
| run: npm install && npm run typecheck && npm test | |
| working-directory: examples/testing/customer-account-testing-example | |
| - name: Testing example (admin) | |
| run: npm install && npm run typecheck && npm test | |
| working-directory: examples/testing/admin-testing-example | |
| test-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/workflows/actions/prepare | |
| - id: test-build | |
| name: Build docs locally to ensure they can be built in CI | |
| run: yarn docs:admin |