From 4f959b94ac738f1c8c0838ea41f0e5dcbcb8265f Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 23 Mar 2020 01:31:17 +0100 Subject: [PATCH] github/workflows/cli: run on windows as well --- .github/workflows/cli.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 31bf396f5f..b8465d96e5 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, windows-latest] node-version: [12.x] name: Node ${{ matrix.node-version }} on ${{ matrix.os }} @@ -33,12 +33,13 @@ jobs: - run: yarn install - 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 - shell: bash + - name: verify app serve 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 + if: runner.os == 'Linux' run: | - if [ "$RUNNER_OS" == "Linux" ]; then - sudo sysctl fs.inotify.max_user_watches=524288 - fi + 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