Switched yarn workspace to yarn nx run ...

- this switches to NX for more command-execution, which helps in the
  future because we can configure dependent tasks that are also
  cacheable
This commit is contained in:
Daniel Lockyer 2023-10-02 21:52:17 +02:00 committed by Daniel Lockyer
parent 514f36b4f2
commit 0372bf8e50

View File

@ -515,7 +515,7 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit == 'true'
run: npx playwright install-deps
- run: yarn workspace @tryghost/admin-x-settings run test:e2e
- run: yarn nx run @tryghost/admin-x-settings:test:e2e
- name: Upload test results
if: always()
@ -568,7 +568,7 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit == 'true'
run: npx playwright install-deps
- run: yarn workspace @tryghost/comments-ui run test
- run: yarn nx run @tryghost/comments-ui:test
- name: Upload test results
if: always()
@ -621,7 +621,7 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit == 'true'
run: npx playwright install-deps
- run: yarn workspace @tryghost/signup-form run test:e2e
- run: yarn nx run @tryghost/signup-form:test:e2e
- name: Upload test results
if: always()