Skip to content

Commit

Permalink
Add classic editor plugin to env.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Aug 21, 2024
1 parent 9bb2e38 commit a1ef173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
if: ${{ steps.cache-node.outputs.cache-hit != 'true' }}

- name: Set the core version and plugins config
run: ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }}
run: ./tests/bin/set-wp-config.js --core=${{ matrix.core.version }} --plugins=./${{ github.event.repository.name }},https://downloads.wordpress.org/plugin/classic-editor.zip

- name: Set up WP environment
run: npm run env:start
Expand Down
2 changes: 1 addition & 1 deletion tests/bin/set-wp-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const fs = require( 'fs' );

const path = `${ process.cwd() }/.wp-env.json`;

let config = fs.existsSync( path ) ? require( path ) : { plugins: [ '.' ] };
let config = fs.existsSync( path ) ? require( path ) : { plugins: [ '.', 'https://downloads.wordpress.org/plugin/classic-editor.zip' ] };

const args = {};
process.argv
Expand Down

0 comments on commit a1ef173

Please sign in to comment.