Skip to content

chore: sprintf

chore: sprintf #836

Workflow file for this run

name: Test PHP
on:
push:
branches-ignore:
- "master"
jobs:
phpunit:
name: Phpunit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
cache: "yarn"
- name: Install NPM deps
run: |
yarn install --frozen-lockfile
- name: Install composer deps
run: composer install
- name: Install environment
run: |
npm run wp-env start
- name: Prepare Database
run: bash ./bin/e2e-after-setup.sh
- name: Run the tests
run: |
npm run test:unit:php
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}