From 372200bb1950c9dfafb86868aada7727b715672e Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 16 Apr 2020 16:49:53 +0200 Subject: [PATCH] github/workflows: split final cli lint and test task --- .github/workflows/cli.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index dad8437613..8ab722f29b 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -60,12 +60,17 @@ jobs: node ${{ github.workspace }}/scripts/cli-e2e-test.js env: BACKSTAGE_E2E_CLI_TEST: true - # This should lint and test both an app and a plugin - - name: yarn lint, test after creation + - name: lint newly created app and plugin working-directory: ${{ steps.generate_tempdir.outputs.tempdir }} run: | cd test-app yarn lint:all + 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 env: BACKSTAGE_E2E_CLI_TEST: true