Use Nx commands for smoke test release action
This commit is contained in:
parent
c39ab816d9
commit
7d6979905c
|
@ -26,8 +26,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
pnpm install
|
pnpm install
|
||||||
composer install --no-dev
|
pnpm nx composer-install-no-dev woocommerce
|
||||||
pnpm run build:assets
|
pnpm nx build-assets woocommerce
|
||||||
pnpm install jest
|
pnpm install jest
|
||||||
|
|
||||||
- name: Run smoke test.
|
- name: Run smoke test.
|
||||||
|
@ -82,7 +82,7 @@ jobs:
|
||||||
working-directory: package/woocommerce/plugins/woocommerce
|
working-directory: package/woocommerce/plugins/woocommerce
|
||||||
env:
|
env:
|
||||||
LATEST_WP_VERSION_MINUS: ${{ matrix.wp }}
|
LATEST_WP_VERSION_MINUS: ${{ matrix.wp }}
|
||||||
run: pnpx wc-e2e docker:up
|
run: pnpm nx docker-up woocommerce
|
||||||
|
|
||||||
- name: Move current directory to code. We will install zip file in this dir later.
|
- name: Move current directory to code. We will install zip file in this dir later.
|
||||||
run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce
|
run: mv ./package/woocommerce/plugins/woocommerce/* ./code/woocommerce
|
||||||
|
@ -103,4 +103,4 @@ jobs:
|
||||||
WC_E2E_SCREENSHOTS: 1
|
WC_E2E_SCREENSHOTS: 1
|
||||||
E2E_SLACK_TOKEN: ${{ secrets.SMOKE_TEST_SLACK_TOKEN }}
|
E2E_SLACK_TOKEN: ${{ secrets.SMOKE_TEST_SLACK_TOKEN }}
|
||||||
E2E_SLACK_CHANNEL: ${{ secrets.RELEASE_TEST_SLACK_CHANNEL }}
|
E2E_SLACK_CHANNEL: ${{ secrets.RELEASE_TEST_SLACK_CHANNEL }}
|
||||||
run: pnpx wc-e2e test:e2e
|
run: pnpm nx test-e2e woocommerce
|
||||||
|
|
Loading…
Reference in New Issue