Skip to content

Commit

Permalink
install deps in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jrtashjian committed Aug 29, 2023
1 parent 5d73ef5 commit a543fa3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,18 @@ jobs:
- "8.1"
- "8.2"
multisite: [false]
wordpress: ["latest"]
wordpress: ["6.3","6.2"]
env:
WP_ENV_PHP_VERSION: ${{ matrix.php }}
WP_ENV_CORE: ${{ format( 'https://wordpress.org/wordpress-{0}.zip', matrix.wordpress ) }}
steps:
- uses: actions/checkout@v3
- name: Restore npm dependency cache
uses: ./.github/actions/restore-npm-cache
- run: npm install
- name: Restore dependency cache
uses: ./.github/actions/restore-composer-cache
- run: composer install
- name: Start Docker environment
run: npm run wp-env start
- name: Running single site unit tests
Expand Down

0 comments on commit a543fa3

Please sign in to comment.