Add the VIP feature flag, and fix all the phpcs errors in the setting… #274
Workflow file for this run
This file contains 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 and JS tests | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up NodeJS 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: npm | |
- name: Build Edit Flow | |
run: | | |
npm ci | |
npm run build | |
- name: Install WordPress with wp-env | |
run: npm run wp-env start | |
- name: Run Lint JS | |
run: npm run lint-js | |
- name: Run Jest tests | |
run: npm run test-jest | |
- name: Run E2E tests | |
run: npm run test-e2e |