Bump svgo from 3.3.3 to 3.3.4 #34109
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: | |
| volto: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: '@plone/volto' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # Locales in place are needed for the tests to pass | |
| - run: pnpm --filter @plone/volto i18n | |
| - name: Run unit tests Volto | |
| run: pnpm --filter @plone/volto test | |
| registry: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: '@plone/registry' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # node setup | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Enable corepack | |
| run: npm i -g corepack@latest && corepack enable | |
| - name: Get pnpm store directory | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - uses: actions/cache@v5 | |
| name: Setup pnpm cache | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml', 'package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - run: pnpm i | |
| - name: Build @plone/registry | |
| run: pnpm --filter @plone/registry build | |
| - name: Run unit tests @plone/registry | |
| run: pnpm --filter @plone/registry test | |
| components: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: '@plone/components' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v5 | |
| # node setup | |
| - name: Use Node.js ${{ env.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.node-version }} | |
| - name: Enable corepack | |
| run: npm i -g corepack@latest && corepack enable | |
| - name: Get pnpm store directory | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - uses: actions/cache@v5 | |
| name: Setup pnpm cache | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml', 'package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - run: pnpm i | |
| - name: Run unit tests @plone/components | |
| run: pnpm --filter @plone/components test | |
| volto-razzle: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| name: '@plone/volto-razzle' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [22.x, 24.x] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Node.js environment | |
| uses: ./.github/actions/node_env_setup | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| # node setup | |
| - name: Use Node.js ${{ env.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.node-version }} | |
| - name: Enable corepack | |
| run: npm i -g corepack@latest && corepack enable | |
| - name: Get pnpm store directory | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - uses: actions/cache@v5 | |
| name: Setup pnpm cache | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml', 'package.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - run: pnpm i | |
| - name: Run unit tests @plone/razzle | |
| run: pnpm --filter @plone/razzle test |