github/workflows: split final cli lint and test task

This commit is contained in:
Patrik Oldsberg
2020-04-16 16:49:53 +02:00
parent 47dd73919b
commit 372200bb19
+7 -2
View File
@@ -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