Deployment app new concept #31879
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: Unit Tests | |
| on: [push, pull_request] | |
| env: | |
| node-version: 24.x | |
| jobs: | |
| unitTests: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| name: | |
| # - '@plone/blocks' | |
| - '@plone/cmsui' | |
| - '@plone/components' | |
| - '@plone/helpers' | |
| - '@plone/layout' | |
| - '@plone/react-router' | |
| - '@plone/registry' | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Run unit tests ${{ matrix.name }} | |
| run: pnpm --filter seven exec init-loaders && pnpm --filter ${{ matrix.name }} test | |
| client: | |
| name: '@plone/client' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/acceptance_tests_node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: JarvusInnovations/background-action@v1 | |
| name: Start Servers | |
| with: | |
| run: | | |
| make ci-acceptance-backend-start & | |
| wait-on: | | |
| http-get://localhost:55001/plone | |
| tail: true | |
| log-output-resume: stderr | |
| wait-for: 10m | |
| log-output: stderr,stdout | |
| log-output-if: failure | |
| - run: pnpm --filter @plone/client test | |
| seven: | |
| name: 'Seven' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [24.x] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: make build-deps | |
| - run: pnpm --filter seven test |