Skip to content

chore(deps-dev): Bump acorn from 8.12.1 to 8.14.0 in /search/search-dev-tools #2814

chore(deps-dev): Bump acorn from 8.12.1 to 8.14.0 in /search/search-dev-tools

chore(deps-dev): Bump acorn from 8.12.1 to 8.14.0 in /search/search-dev-tools #2814

Workflow file for this run

name: Enterprise Search e2e tests
env:
NODE_VERSION: "20"
on:
pull_request:
branches:
- develop
- production
- staging
paths:
- 'bin/search/**'
- 'search/**'
- 'tests/search/e2e/**'
- 'package-lock.json'
- '.github/workflows/search-e2e.yml'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
cypress_local:
name: Cypress - Local
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: recursive
- name: Prepare source code
uses: ./.github/actions/prepare-source
- name: "Install node v${{ env.NODE_VERSION }}"
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Set up WP environment with Elasticsearch
run: npm run search-env:start
- name: Build asset
run: npm run search-build
- name: Set up database
run: npm run cypress:setup
- name: Test
run: npm run cypress:run
- name: Make artifacts available
uses: actions/upload-artifact@v4
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 }}/cypress/results/
${{ github.workspace }}/tests/search/e2e/screenshots/
${{ github.workspace }}/tests/search/e2e/videos/
${{ github.workspace }}/tests/search/e2e/logs/
- name: Stop Elasticsearch
if: always()
run: docker compose down
working-directory: bin/search/es-docker