Skip to content

build(deps-dev): bump @wordpress/wordcount from 4.36.0 to 4.37.0 #15663

build(deps-dev): bump @wordpress/wordcount from 4.36.0 to 4.37.0

build(deps-dev): bump @wordpress/wordcount from 4.36.0 to 4.37.0 #15663

Workflow file for this run

name: End-to-end Tests
on:
# Run on all pull requests.
pull_request:
push:
branches:
- trunk
workflow_call:
# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
test:
name: E2E against WordPress latest
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Refresh Composer autoload files
run: composer dump-autoload --classmap-authoritative
- name: Read .nvmrc
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Npm install
run: |
npm ci
- name: Install Playwright dependencies
run: |
npx playwright install chromium --with-deps
- name: Start up WordPress environment
run: |
npm run dev:start
- name: Running E2E tests
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: |
npm run test:e2e
- name: Stop WordPress environment
run: |
npm run dev:stop
- name: Archive E2E results
uses: actions/upload-artifact@v5
if: failure()
with:
name: test-results
path: artifacts