Bump basic-ftp from 5.2.0 to 5.2.1 in the npm_and_yarn group across 1 directory #83
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: Cypress | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - trunk | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| uses: 10up/Ad-Refresh-Control/.github/workflows/build-release-zip.yml@develop | |
| cypress: | |
| needs: build | |
| name: ${{ matrix.core.name }} | |
| runs-on: ubuntu-latest | |
| 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 build zip | |
| uses: actions/download-artifact@b14cf4c92620c250e1c074ab0a5800e37df86765 # v4.2.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: Cache node_modules | |
| id: cache-node-modules | |
| uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 | |
| env: | |
| cache-name: cache-node-modules | |
| with: | |
| path: | | |
| node_modules | |
| ~/.cache | |
| ~/.npm | |
| key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Set the core version and plugins config | |
| run: ./tests/bin/set-core-version.js ${{ matrix.core.version }} | |
| - name: Set up WP environment | |
| run: npm run env:start | |
| - name: Test | |
| run: npm run cypress:run | |
| - name: Make artifacts available | |
| uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 | |
| if: failure() | |
| with: | |
| name: cypress-artifact | |
| retention-days: 2 | |
| path: | | |
| ${{ github.workspace }}/tests/cypress/screenshots/ | |
| ${{ github.workspace }}/tests/cypress/videos/ | |
| ${{ github.workspace }}/tests/cypress/logs/ | |
| ${{ github.workspace }}/tests/cypress/reports/ |