Bump systeminformation from 5.31.1 to 5.31.6 in the npm_and_yarn group across 1 directory #86
Workflow file for this run
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: E2E test | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| uses: 10up/embed-block-figma/.github/workflows/build-release-zip.yml@develop | |
| cypress: | |
| needs: build | |
| name: ${{ matrix.core.name }} | |
| runs-on: ubuntu-latest | |
| if: always() | |
| strategy: | |
| matrix: | |
| core: | |
| - {name: 'WP latest', version: 'latest'} | |
| - {name: 'WP minimum', version: 'WordPress/WordPress#6.6'} | |
| - {name: 'WP trunk', version: 'WordPress/WordPress#master'} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Download built zip | |
| uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0 | |
| with: | |
| name: ${{ github.event.repository.name }} | |
| path: ${{ github.event.repository.name }} | |
| - name: Display structure of downloaded files | |
| run: ls -R | |
| working-directory: ${{ github.event.repository.name }} | |
| - name: Install node | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # 4.4.0 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 | |
| id: cache-node | |
| with: | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| path: | | |
| node_modules | |
| ~/.cache | |
| ~/.npm | |
| - run: npm ci | |
| if: ${{ steps.cache-node.outputs.cache-hit != 'true' }} | |
| - name: Set the core version and plugins config | |
| run: ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }} | |
| - name: Set up WP environment | |
| run: npm run env:start | |
| - name: Test | |
| run: npm run cypress:run | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| if: failure() | |
| with: | |
| name: cypress-artifact-embed-block-figma | |
| retention-days: 2 | |
| path: | | |
| ${{ github.workspace }}/tests/cypress/screenshots/ | |
| ${{ github.workspace }}/tests/cypress/videos/ | |
| ${{ github.workspace }}/tests/cypress/logs/ |