Skip to content

update readme with official plugin repo link 🍾 #41

update readme with official plugin repo link 🍾

update readme with official plugin repo link 🍾 #41

Workflow file for this run

name: E2E test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cypress:
name: ${{ matrix.job_name }}
runs-on: ubuntu-latest
strategy:
matrix:
include:
- job_name: 'WP latest'
core_version: 'latest'
- job_name: 'WP minimum'
core_version: 'WordPress/WordPress#6.3'
- job_name: 'WP trunk'
core_version: 'WordPress/WordPress#master'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Composer (optional)
run: composer install
continue-on-error: true
- name: Build (optional)
run: npm run build
continue-on-error: true
- name: Set the core version
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@v3
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/