From ca2ccb314524e36cbd00b98a2b2fbd0e949354b6 Mon Sep 17 00:00:00 2001 From: Marcus Eide Date: Tue, 14 Apr 2020 09:14:26 +0200 Subject: [PATCH] Modify cli workflow --- .github/workflows/cli.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index d571703294..44a18f10da 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -6,6 +6,7 @@ on: - '.github/workflows/cli.yml' - 'packages/cli/**' - 'packages/core/**' + - 'scripts/**' jobs: build: @@ -40,17 +41,18 @@ jobs: - name: yarn install run: yarn install --frozen-lockfile - run: yarn build - # This creates a new plugin and pollutes the workspace, so it should be run last. - - name: verify app serve and plugin creation on Windows + # This creates a new app and plugin which pollutes the workspace, so it should be run last. + - name: verify app and plugin creation on Windows if: runner.os == 'Windows' run: node scripts/cli-e2e-test.js - - name: verify app serve and plugin creation on Linux + - name: verify app and plugin creation on Linux if: runner.os == 'Linux' run: | sudo sysctl fs.inotify.max_user_watches=524288 node scripts/cli-e2e-test.js - - name: yarn lint, test after plugin creation - working-directory: plugins/test-plugin + # This should lint and test both an app and a plugin + - name: yarn lint, test after creation + working-directory: test-app run: | yarn lint yarn test