From 54108354ff402b4cd25c545338bd847f0b388a7f Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 16 Apr 2020 17:52:08 +0200 Subject: [PATCH] github/workflows: avoid cd in final cli tests --- .github/workflows/cli.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 8ab722f29b..d7cb262088 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -61,16 +61,12 @@ jobs: env: BACKSTAGE_E2E_CLI_TEST: true - name: lint newly created app and plugin - working-directory: ${{ steps.generate_tempdir.outputs.tempdir }} - run: | - cd test-app - yarn lint:all + run: yarn lint:all + working-directory: ${{ steps.generate_tempdir.outputs.tempdir }}/test-app env: BACKSTAGE_E2E_CLI_TEST: true - name: test newly created app and plugin - working-directory: ${{ steps.generate_tempdir.outputs.tempdir }} - run: | - cd test-app - yarn test:all + run: yarn test:all + working-directory: ${{ steps.generate_tempdir.outputs.tempdir }}/test-app env: BACKSTAGE_E2E_CLI_TEST: true