Skip to content

Commit

Permalink
New npm commands to bring ES up and down
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Nov 11, 2024
1 parent 46177e1 commit e7a5300
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@
"lint-style": "10up-toolkit lint-style",
"env": "wp-env",
"env:install-tests-cli": "./bin/install-wp-cli.sh tests-wordpress",
"env:start": "wp-env start && npm run env:install-tests-cli && cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-7.10.2} && docker compose up -d",
"env:stop": "wp-env stop && cd bin/es-docker/ && docker compose down",
"env:start": "wp-env start && npm run env:install-tests-cli && npm run es:start",
"env:stop": "wp-env stop && npm run es:stop",
"env:reset": "wp-env clean all && npm run env:start && npm run cypress:setup",
"es:start": "cd bin/es-docker/ && docker compose build --build-arg ES_VERSION=${ES_VERSION-7.10.2} && docker compose up -d",
"es:stop": "cd bin/es-docker/ && docker compose down",
"cypress:setup": "./bin/setup-cypress-env.sh",
"cypress:open": "cypress open --config-file tests/cypress/config.js",
"cypress:run": "cypress run --config-file tests/cypress/config.js"
Expand Down

0 comments on commit e7a5300

Please sign in to comment.