【調整中】fix: ターム値の保存関数と入力値の受け取りを別関数に切り分け #10
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: phpunit | |
on: pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install NPM Scripts | |
run: npm install | |
- name: Install Composer Package | |
run: composer install | |
- name: Install @wordpress/env | |
run: npm install -g @wordpress/env | |
- name: Run @wordpress/env | |
run: npx wp-env start | |
# PHPUnitテスト実行 | |
- name: Run PHPUnit test. | |
run: | | |
npm run phpunit |