From 9c54d3579757aa1e4027ff8fb434a18c656d840c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 8 Oct 2019 08:47:40 +0300 Subject: [PATCH] CI: move `CI` env variable to the root of the workflow. (#29499) This way we match the Travis CI behavior, and it's inherited by all steps. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27739bf86c..5fbe7ff7cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,7 @@ name: Tests on: [push, pull_request] +env: + CI: true jobs: run: @@ -28,8 +30,6 @@ jobs: - name: Install npm dependencies run: npm ci - env: - CI: true - name: Run tests run: npm test